#ifndef RD_PROTO_H_
#define RD_PROTO_H_

#include "rdProtoSunGard.h"
#include "ssCmnDefine.h"
#include <string>
#include <vector>
#pragma warning( disable : 4996 )
//#pragma warning( disable : 4244 )

#ifdef WIN32
#pragma pack(push)
#pragma pack(1)
#define Y_RD_PACKED	
#else
#define Y_RD_PACKED	__attribute__ ((packed))
#endif

/*
#define Y_RD_MSG_MAGIC					382923
#define Y_RD_APPEND_ADDR_LEN			30
#define	Y_RD_SERVICE_MESSAGE_BLOCK_LEN	9999
#define Y_RD_AES_KEY					"rdsdf32_222jss2u"
#define Y_RD_AES_KEY_LEN				16
#define Y_RD_AES_BLOCK_LEN				16
#define Y_RD_RECV_TIME_OUT				1000000

const int MAX_QUOTA_STATUS_LEN = 2;
const int MAX_HQTYPE_LEN = 2;
*/
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef short SHORT;
typedef unsigned short WORD;
typedef char CHAR;

//client 1(C) systemserver 2(S) marketserver 3(M) tradeserver 4(T)
enum _eFunID_t
{
	E_FID_CS_LOGIN_REQ = 1201,								//登录 1 -- 2

	E_FID_CS_LOGOUT_REQ = 1202,								//登出 1 -- 2

	//E_FID_CS_WELCOME_REQ = 1203,							 //请求新的欢迎

	E_FID_CS_LOGIN_REQ_V2 = 1204,								//登录 1 -- 2，替换1201，增加mac地址，lance 2021.6.9

	E_FID_CS_HEARTBEAT = 1208,//心跳

	E_FID_CS_MARKET_REQ = 1209,//请求行情

	E_FID_CS_CODE_REQ = 1210,	//查询代码表

	E_FID_CS_INI_MARKET_REQ = 1211,	//查询初始行情

	E_FID_CS_MARKET_STATUS_REQ = 1217, 		//查询开盘收盘状态

	E_FID_CS_TICK_DATA_REQ = 1218,         //查询Tick请求

	E_FID_CS_KICKOFF_USER_REQ = 1219,         //踢用户请求

	E_FID_CS_FORCE_QUIT = 2120,//异处登陆消息

	E_FID_CS_MARKET_KLINE_REQ = 1221, //查询K线行情

	E_FID_CS_RE_LOGIN_REQ = 1222,								//重新登录 1 -- 2

	E_FID_CS_RE_DOWN_KLINE_REQ = 1223,								//重新下载K数据 1 -- 2

	E_FID_CS_RE_LOGIN_REQ_V2 = 1224,								//重新登录 1 -- 2，替换1222，增加mac地址，lance 2021.6.9

	E_FID_CS_SORT_REQ = 1230 ,          //排序请求 , 1 --> 2 ，2012-06-04

	E_FID_CM_LOGIN_REQ = 1301,

	E_FID_CM_LOGOUT_REQ = 1302, 

	E_FID_MC_MARKETINFO = 3103,					//行情服务器发送给客户

	E_FID_CM_HEARTBEAT = 1304,//心跳

	E_FID_CT_LOGIN_REQ = 1401,

	E_FID_CT_LOGOUT_REQ = 1402, 

	E_FID_CT_GET_MARKETINFO_REQ	= 1433,	   //查询初始行情

	//////////////////////////////////////////////////////////////////////market Function
	E_FID_CT_REG_PUSHMARKET					= 8000,//sumscope  注册行情
	E_FID_CT_UNREG_PUSHMARKET				= 8001,//sumscope 取消注册行情
	E_FID_CT_UNREGALL_PUSHMARKET			= 8002,//sumscope
	E_FID_CT_CLIENT_INI_REQ					= 8003,//客户端初始化请求
	E_FID_CT_CLIENT_REPORT_REQ				= 8004,//客户端实时行情请求
	E_FID_CT_CLIENT_HISTORY_REQ				= 8005,//客户历史行情请求
	E_FID_CT_CLIENT_MINUTE_REQ				= 8006,//客户分时行情请求
	E_FID_CT_CLIENT_POWER_REQ				= 8007,//客户除权信息请求
	E_FID_CT_CLIENT_DETAIL_REQ				= 8008,//客户明细请求
	E_FID_CT_CLIENT_FILEUPDATE_REQ			= 8009,//客户信息更新请求
	E_FID_CT_CLIENT_FILEUPDATE_MSG_REQ		= 8013,//客户信息更新请求(Message格式)
	E_FID_CT_CLIENT_FILEUPDATE_ASK			= 8019,//客户信息更新响应
	E_FID_CT_CLIENT_FILEUPDATE_FIN			= 8010,//更新完成
	E_FID_CT_CLIENT_DETAIL_REQ2				= 8011,//客户明细请求，返回REPORT格式
	E_FID_CT_CLIENT_5MINUTE_REQ				= 8012,//客户当日5分钟数据请求

	E_FID_CT_CLIENT_REG_CONTRIBUTION		= 8100,//注册回报贡献
	E_FID_CT_CLIENT_UNREG_CONTRIBUTION		= 8101,//注销回报贡献

	E_FID_CT_CLIENT_REG_RAISESTATICS		= 8102,//注册涨幅统计
	E_FID_CT_CLIENT_UNREG_RAISESTATICS		= 8103,//注销涨幅统计

	E_FID_CT_CLIENT_REG_INDUSTRY			= 8104,//注册行业板块、地域、概念行情
	E_FID_CT_CLIENT_UNREG_INDUSTRY			= 8105,//注销行业板块、地域、概念行情

	E_FID_SERVER_RPC_API					= 8200,	//调用服务端RPC
	E_FID_SERVER_QPID						= 8201,	//调用服务端RPC,qpid
	E_FID_SERVER_QPID_JAVA					= 8202,	//调用服务端RPC,qpid,给Java的请求，透传
	E_FID_SIGNAL							= 8500,	//市场信号


	//E_FID_MARKET_RECONNECT_OUT_NOTIFY = 9983,		//重新连接行情服务器次数超限
	E_FID_PUSH_RECONNECT_NOTIFY				= 9984,	//重新连接PUSH服务器
	E_FID_UPDATE_FILE_NOTIFY				= 9991,	//数据字典更新通知
	E_FID_UPDATE_FILE_NOTIFY_PUSH			= 9992,	//服务端Message格式的数据字典更新通知消息


E_FID_SYS_TIME = 10000,		//查询系统时间

//以下 业务功能/////////////////////////////////////////////////////////////////////////////////////Bond Function

E_FID_CT_BOND_INFO = 30000,		// 获取列表信息，一次最多请求64只
E_FID_CT_BOND_DETAIL_INFO = 30001,		// 债券详情
E_FID_CT_BOND_SCREENING_WASHER = 30002,		// 债券筛选器，筛选
E_FID_CT_TRADE_TIP_ISSUE = 30010,		// 交易提示--发行流通
E_FID_CT_TRADE_TIP_MATURITY = 30011,		// 交易提示--付息兑付
E_FID_CT_TRADE_TIP_OPTION_EXERCISE = 30012,		// 交易提示--行权提示
E_FID_CT_TRADE_TIP_RATING_MODIFY = 30013,		// 交易提示--评级修正

E_FID_CT_SEND_USER_LOG = 40000,		// 上传UserLog
E_FID_QB_SEND_CLIENT_INFO = 40001,		// 上传客户端信息

//E_FID_QB_BOND_INFO						= 50000,			// 债券详情

//E_FID_QB_ATTENTION_ADD					= 50001,			// 我的关注：增
//E_FID_QB_ATTENTION_MDF					= 50003,			// 我的关注：改


//E_FID_QB_TRADE_CMPY_QRY					= 50005,			// 经纪公司: 查
//E_FID_QB_BEST_PRICE_REQ					= 50006,			// 请求最优报价
E_FID_QB_BEST_PRICE_PUSH_OLDCODEC = 50007,			// 推送最优报价
//E_FID_QB_MARKET_STREAM_REQ				= 50008,			// 请求市场动向
//E_FID_QB_MARKET_STREAM_PUSH				= 50009,			// 推送市场动向
E_FID_QB_MODIFY_PASSWORD = 50010,			// 修改密码
//E_FID_QB_MODIFY_USERINFO					= 50011,			// 修改用户信息
//E_FID_QB_QUERY_USERINFO					= 50012,			// 查询用户信息

//E_FID_QB_MARKET_STREAM_EX_REQ				= 50013,			// 查询Marketstream ,高级查询，待筛选条件

E_FID_QB_ALL_CMPY_QRY = 50015,			// 查询所有经纪公司
//E_FID_QB_BROKER_AUTHORIZE					= 50016,			// 请求授权经纪公司
//E_FID_QB_BROKER_AUTHORIZE_QRY				= 50017,			// 查询授权经纪公司状态
//E_FID_QB_MARKET_STREAM_HIS_QRY			= 50018,			// 查询历史市场动向
//E_FID_QB_ORDER_REQ						= 50019,			// 用户报价
//E_FID_QB_ORDER_QRY						= 50020,			// 用户报价 历史查询

E_FID_QB_COMPANY_SORT_REQ = 50021,			// 设置经纪公司顺序

E_FID_QB_BOND_INFO_FINANCIAL_INDEX = 50023,			// 查询发行人的财务指标

//E_FID_QB_BOND_SS_INFO						= 50029,			// 债券详情--基本信息,取值sumscope的bond相关表

E_FID_QB_CDC_AUTHORITY_REQ = 50030,			// 请求估值权限
//E_FID_QB_MARKET_STREAM_HIS_QRY2			= 50032,			// 查询历史市场动向---报价,根据sumscope的bondkey

//E_FID_QB_BEST_PRICE_PUSH_REPAIR			= 50033,			// 补最优报价

E_FID_QB_BOND_SS_INFO_NEW = 50034,			// 债券详情--基本信息,取值sumscope的bond相关表
E_FID_QB_BOND_SS_ISSUER_RATING_NEW = 50035,			// 债券详情--发行人 评级信息,取值sumscope的bond相关表

//E_FID_QB_NEWS_MSG_REQ						= 50036,			// 新闻查询
//E_FID_QB_NEWS_MSG_PUSH					= 50037,			// 新闻推送
E_FID_QB_BOND_SS_ISSUER_RELEVANT_NEW = 50038,			// 债券详情--发行人 相关债券信息,取值sumscope的bond相关表
//E_FID_QB_CDC_PRICE_DETAIL_REQ				= 50039,			//个券详情 估值信息 铨 20131221

//E_FID_QB_TF_INSTRUMENT_REQ				= 50040,			// 国债期货品种查询 anson
//E_FID_QB_TF_PRICE_REQ						= 50041,			// 国债期货行情查询anson
//E_FID_QB_TF_PRICE_PUSH					= 50042,			// 国债期货行情推送anson
E_FID_QB_TF_CONTACT_INFO_REQ = 50043,			// 国债期货合约基本信息  tong 
E_FID_QB_TF_REFBOND_REQ = 50044,			// 请求国债期货相关的现券 tong
//E_FID_QB_TF_PRICE_REGISTER				= 50045,			// 国债期货行情注册
//E_FID_QB_TF_PRICE_PUSH_CANCEL				= 50046,			// 国债期货行情取消注册----
E_FID_QB_TF_REALTIME = 50047,			// 国债期货分时行情查询 anson	
E_FID_QB_TF_KLINE_MINUTE5 = 50048,			// 国债期货5分钟K线数据查询 anson
E_FID_QB_TF_KLINE_DAY = 50049,			// 国债期货日K线数据查询	anson

E_FID_QB_TRADE_TIP_ISSUE = 50050,			// 交易提示--发行流通tong
E_FID_QB_TRADE_TIP_MATURITY = 50051,			// 交易提示--付息兑付tong
E_FID_QB_TRADE_TIP_OPTION_EXERCISE = 50052,			// 交易提示--行权提示tong
E_FID_QB_TRADE_TIP_RATING_MODIFY = 50053,			// 交易提示--评级修正tong

E_FID_QB_BOND_FUNDAMENTAL_REQ = 50054,			// 请求计算器需要的基础数据

E_FID_QB_TF_KLINE_WEEK = 50055,			// 国债期货周K线数据查询 anson
E_FID_QB_TF_KLINE_MONTH = 50056,			// 国债期货月K线数据查询 anson
E_FID_QB_TF_KLINE_YEAR = 50057,			// 国债期货年K线数据查询 anson

//E_FID_QB_TRADE_TIP_SUMMARY				= 50058,			// 交易提示--统计tong
E_FID_QB_HOLIDAY_REQ = 50059,			// 获取节假日  ----银行间CIB  tong

//E_FID_QB_MARKET_STREAM_DEAL_REQ			= 50060,		// 请求市场动向,成交  anson
E_FID_QB_MARKET_STREAM_DEAL_PUSH = 50061,			// 推送市场动向，成交	anson
//E_FID_QB_MARKET_STREAM_DEAL_EX_REQ		= 50062,		// 查询Marketstream 成交 ,高级查询，待筛选条件 anson
E_FID_QB_TRADE_TIP_SUMMARY2 = 50063,			// 交易提示--统计tong,返回bondkey列表
E_FID_QB_TF_TICK_REQ = 50064,			// 查询Tick
//E_FID_QB_TF_MARKET_STREAM_REQ				= 50065,			// 查询国债期货相关现券报价
E_FID_QB_APPMENU_REQ = 50066,			// 查询QB App目录菜单

E_FID_QB_HOT_IDXS_REQ = 50068,			// 首页-火热指数查询
E_FID_QB_HOT_IDXS_PUSH = 50069,			// 首页-火热指数推送


	//E_FID_QB_ATTENTION_DEL_V2 = 50002,				// 我的关注：删
	//E_FID_QB_ATTENTION_SORT_V2 = 50014,			// 客户排序请求
	//E_FID_QB_ATTENTION_DEFAULT_V2 = 50022,			// 设置或者取消“我的关注”的默认值
	//E_FID_QB_ATTENTION_GROUP_ADD_V2 = 50024,			// 我的关注分类：增						
	//E_FID_QB_ATTENTION_GROUP_DEL_V2 = 50025,			// 我的关注分类：删						
	//E_FID_QB_ATTENTION_GROUP_MDF_V2 = 50026,			// 我的关注分类：改--分类	
	//E_FID_QB_ATTENTION_MDF2_V2 = 50027,			// 我的关注：改，新增修改关注
	//E_FID_QB_ATTENTION_GROUP_QRY_V2 = 50028,			// 我的关注：查询分组
	//E_FID_QB_ATTENTION_ADD2_V2 = 50071,			// 我的关注：增
	//E_FID_QB_ATTENTION_QRY_V2 = 50074,			// 我的关注：查 // 输出bond_key
	//E_FID_QB_ATTENTION_BATCH_ADD_V2 = 50076,			// 我的关注：批量增加增 tong
	//E_FID_QB_ATTENTION_GROUP_SORT_V2 = 50187,			//我的关注分组排序
	//E_FID_QB_ATTENTION_BATCH_DEL_V2			= 50722,		//,新增			    // 我的关注：批量删除


	E_FID_QB_MARKET_STREAM_HIS_DEAL_QRY2 = 50075,			// 查询历史市场动向,---成交，根据sumscope的bondkey tong

	E_FID_QB_ACCOUNT_MANAGER_REQ				= 50077,			// 查询客户经纪信息 tong
	E_FID_QB_BROKER_DAILY_COMMENT_REQ			= 50078,			// 经纪公司日评，tong
	E_FID_QB_BROKER_DAILY_DEAL_REQ				= 50079,			// 经纪公司日评，成交 tong
	E_FID_QB_BROKER_DAILY_SPREAD_REQ			= 50080,			// 经纪公司日评，基准价差 tong


	E_FID_QB_REMINDER_ADD_REQ					= 50081,			// 提醒，增加 tong
	E_FID_QB_REMINDER_DEL_REQ					= 50082,			// 提醒，删除 tong
	E_FID_QB_REMINDER_MODIFY_REQ				= 50083,			// 提醒，修改 tong
	E_FID_QB_REMINDER_QUERY_REQ					= 50084,			// 提醒，查询 tong

	E_FID_QB_REMINDER_MESSAGE_QUERY_REQ			= 50085,			// 提醒，消息查询 tong
	E_FID_QB_REMINDER_MESSAGE_PUSH				= 50086,			// 提醒，消息推送 anson

	//E_FID_QB_CONDITION_GRUOP_QUERY_REQ			= 50087,			// 筛选方案，查询 tong
	E_FID_QB_CONDITION_GRUOP_ADD				= 50088,			// 筛选方案，增加 tong
	E_FID_QB_CONDITION_GRUOP_DEL				= 50089,			// 筛选方案，删除 tong
	E_FID_QB_CONDITION_GRUOP_MODIFY				= 50090,			// 筛选方案，修改 tong
	//E_FID_QB_CONDITION_GRUOP_BASE_QUERY_REQ		= 50091,			// 筛选方案，基础信息查询 tong

	E_FID_QB_BROKER_DAILY_COMMENT_TYPE_REQ		= 50092,			// 经纪公司日评，品种类型查询 tong


	//E_FID_QB_MARKET_STREAM_BY_GROUP_QRY		= 50093,			// 请求市场动向(按"关注组"查询)
	//E_FID_QB_MARKET_STREAM_DEAL_BY_GROUP_QRY	= 50094,			// 请求成交信息(按"关注组"查询)
	//E_FID_QB_TF_MARKET_STREAM_DEAL_REQ		= 50095,			// 查询国债期货相关现券成交
	//E_FID_QB_MARKET_STREAM_HIS_DEAL_QRY3		= 50096,			// 查询历史市场动向,---成交--每次查询多只券，根据sumscope的bondkey tong
	//E_FID_QB_CDC_PRICE_REQ_HIS                = 50097, 		    //历史估值信息 铨 20141202
	//E_FID_QB_CDC_PRICE_SINGLE_HIS_REQ			= 50098,			//个券详情 单券历史 估值信息 铨 20150119

	E_FID_QB_CONDITION_GRUOP_REQ_NEW			= 50099,			// 筛选方案，合并原先 50091 + 50087, 2020-11-03 by Lance

	E_FID_QB_BOND_SS_ISSUER_INFO_NEW			= 50100,			// 债券详情--发行人 基本信息
	//E_FID_QB_TWO_DIMENSION_CODE_REQ			= 50101,			// QB获取动态二维码

	E_FID_QB_DICT_CHECK							= 50102,			// 字典校验

	E_FID_QB_TRADE_TIP_ISSUE_V5					= 50110,			// 交易提示--发行流通_V5	tong
	E_FID_QB_TRADE_TIP_MATURITY_V5				= 50111,			// 交易提示--付息兑付_V5	tong
	E_FID_QB_TRADE_TIP_OPTION_EXERCISE_V5		= 50112,			// 交易提示--行权提示_V5	tong
	E_FID_QB_TRADE_TIP_RATING_MODIFY_V5			= 50113,			// 交易提示--评级修正_V5	tong

	E_FID_QB_BROKER_DAILY_COMPANY_REQ			= 50115,			// 经纪商日评，查询可以看的经纪商公司列表	tong

	//E_FID_QB_MARKET_STREAM_EX_REQ				= 50116,			// 查询Marketstream V5,高级查询，待筛选条件  V5
	//E_FID_QB_MARKET_STREAM_DEAL_EX_REQ		= 50117,			// 查询Marketstream 成交 V5,高级查询，待筛选条件 anson V5

	E_FID_QB_AUTHORITY_APPLY_REQ				= 50118,			// QB 权限申请
	E_FID_QB_AUTHORITY_APPROVED_PUSH			= 50119,			// QB 权限批准推送
	//E_FID_QB_AUTHORITY_QUERY_REQ				= 50120,			// QB 权限查询

	//E_FID_QB_BEST_PRICE_REQ					= 50121,			// 请求最优报价   V5
	E_FID_QB_MARKET_STREAM_REQ					= 50122,			// 请求市场动向  V5
	//E_FID_QB_BEST_PRICE_PUSH_REPAIR			= 50123,			// 补最优报价  V5
	E_FID_QB_MARKET_STREAM_DEAL_REQ				= 50124,			// 请求市场动向,成交  anson  V5
	//E_FID_QB_TF_MARKET_STREAM_REQ				= 50125,			// 查询国债期货相关现券报价  V5
	E_FID_QB_MARKET_STREAM_BY_GROUP_QRY			= 50126,			// 请求市场动向(按"关注组"查询)  V5
	//E_FID_QB_MARKET_STREAM_DEAL_BY_GROUP_QRY	= 50127,			// 请求成交信息(按"关注组"查询)  V5
	E_FID_QB_TF_MARKET_STREAM_DEAL_REQ			= 50128,			// 查询国债期货相关现券成交  V5
	E_FID_QB_BEST_PRICE_REQ						= 50129,			// 请求最优报价,压缩版本   V5	

	//E_FID_QB_BROKER_PRICE_REGISTER			= 50130,			// 经纪商行情注册
	//E_FID_QB_BROKER_PRICE_UNREGISTER			= 50131,			// 经纪商行情取消注册
	//E_FID_QB_OPTION_TYPE_REQ					= 50132,			// 查询债券的含权类型
	//E_FID_QB_BROKER_CONTACT_REQ				= 50133,			// 查询经纪商的联系方式

	E_FID_QB_MARKET_STREAM_HIS_QRY3				= 50134,			// 查询历史市场动向---报价,根据sumscope的bondkey,anson qb_market_stream
	E_FID_QB_MARKET_STREAM_HIS_QRY4				= 50135,			// 查询单券历史报价及成交，20151207 by lance

	E_FID_QB_BROKER_BESTPRICE_REGISTER			= 50136,			// 经纪商行情-最优报价注册
	E_FID_QB_BROKER_BESTPRICE_UNREGISTER		= 50137,			// 经纪商行情-最优报价取消注册
	E_FID_QB_BROKER_DEAL_REGISTER				= 50138,			// 经纪商行情-成交注册
	E_FID_QB_BROKER_DEAL_UNREGISTER				= 50139,			// 经纪商行情-成交取消注册

	E_FID_QB_BONDCOP_BEST_PRICE_REQ				= 50141,			// 请求机构二级债券最优报价
	E_FID_QB_BONDCOP_BEST_PRICE_PUSH			= 50142,			// 注册机构二级债券最优报价推送
	E_FID_QB_BONDCOP_BEST_PRICE_PUSH_CANCEL		= 50143,			// 取消注册机构二级债券最优报价推送
	E_FID_QB_BONDCOP_ACCOUNT_MANAGER_REQ		= 50144,			// 请求机构二级联系人，宏源热卖

	E_FID_QB_USER_SPONSORS						= 50147,            // 请求QB赞助机构
	E_FID_QB_USER_WEBOPTOIN_REQ					= 50148,			// 请求用户配置，web url等
	E_FID_QB_USER_PERMISSION_REQ				= 50149,			// QB 查询 Permission 权限，king

	E_FID_QB_INDICATIVE_PRICE_REQ				= 50150,			//请求海外版指导价
	E_FID_QB_MARKET_STREAM_OVERSEAS_REQ			= 50151,			//请求海外版市场报价 基本版
	E_FID_QB_MARKET_STREAM_EX_OVERSEAS_REQ		= 50152,			//请求海外版市场报价 高级版
	E_FID_QB_INDICATIVE_PRICE_PUSH				= 50153,			//请求海外版指导价 推送
	E_FID_QB_MARKET_STREAM_OVERSEAS_PUSH		= 50154,			//请求海外版市场报价 推送

	E_FID_QB_AUTHORITY_QUERY_NEW_REQ			= 50155,			// QB 权限查询 tong,新的权限查询
	E_FID_QB_INDICATIVE_PRICE_PUSH_CANCEL		= 50156,			//请求海外版指导价 推送 取消
	//E_FID_QB_MARKET_STREAM_OVERSEAS_PUSH_CANCEL	= 50157,		//请求海外版市场报价 推送 取消
	//E_FID_QB_MARKET_STREAM_HIS_OVERSEA_QRY		= 50158,		// QB 海外版历史Marketstream
	E_FID_QB_MARKET_STREAM_BY_GROUP_OVERSEA_QRY		= 50159,		//QB 海外版请求Marketstream信息(按"关注组"查询)

	E_FID_QB_MACRO_CPI_QRY						= 50160,			//宏观经济，CPI
	E_FID_QB_MACRO_FOOD_QRY						= 50161,			//宏观经济，食品
	E_FID_QB_MACRO_NON_FOOD_QRY					= 50162,			//宏观经济，非食品
	E_FID_QB_MACRO_INDUSTRY_QRY					= 50163,			//宏观经济，工业增加值
	E_FID_QB_MACRO_INDUSTRY_INDUSTRY_QRY		= 50164,			//宏观经济，工业增加值,按行业
	E_FID_QB_MACRO_INDUSTRY_AREA_QRY			= 50165,			//宏观经济，工业增加值,按地区
	E_FID_QB_MACRO_INDUSTRY_PRODUCT_QRY			= 50166,			//宏观经济，工业增加值,按产品
	E_FID_QB_MACRO_EFFICIENCY_QRY				= 50167,			//宏观经济，工业企业效益
	E_FID_QB_MACRO_EFFICIENCY_PROFIT_QRY		= 50168,			//宏观经济，工业企业效益,利润总额
	E_FID_QB_MACRO_CURRENCY_QRY					= 50169,			//宏观经济，货币概览
	E_FID_QB_MACRO_CURRENCY_FIN_DEPOSIT_QRY		= 50170,			//宏观经济，货币概览，财政存款
	E_FID_QB_MACRO_CURRENCY_FX_FUNDS_QRY		= 50171,			//宏观经济，货币概览,外汇占款
	E_FID_QB_MACRO_CURRENCY_OP_QRY				= 50172,			//宏观经济，货币概览,公开市场操作
	E_FID_QB_MACRO_CURRENCY_MO_CASH_QRY			= 50173,			//宏观经济，货币概览,M0与库存现金
	E_FID_QB_MACRO_CURRENCY_DEPOSIT_RATIO_QRY	= 50174,			//宏观经济，货币概览,存款与存准

	E_FID_QB_TF_KLINE_MINUTE5_V2				= 50175,			// 国债期货，过期合约，5分钟K线数据查询，V3.5，added by Lance
	E_FID_QB_TF_KLINE_DAY_V2					= 50176,			// 国债期货，过期合约，日K线数据查询      
	E_FID_QB_TF_KLINE_WEEK_V2					= 50177,			// 国债期货，过期合约，周K线数据查询 
	E_FID_QB_TF_KLINE_MONTH_V2					= 50178,			// 国债期货，过期合约，月K线数据查询 
	E_FID_QB_TF_KLINE_YEAR_V2					= 50179,			// 国债期货，过期合约，年K线数据查询 

	E_FID_QB_CONDITION_SORT						= 50180,			//筛选方案排序

	E_FID_QB_EX_QUOTE_QUERY						= 50181,			// 查询交易所行情,五档
	E_FID_QB_EX_QUOTE_PUSH						= 50182,			// 交易所行情推送，注册,五档
	E_FID_QB_EX_QUOTE_PUSH_CANCEL				= 50183,			// 交易行情推送，注册取消,五档
	E_FID_QB_EX_BEST_QUOTE_QUERY				= 50184,			// 查询交易所行情,最优
	E_FID_QB_EX_BEST_QUOTE_PUSH					= 50185,			// 交易所行情推送，注册,最优
	E_FID_QB_EX_BEST_QUOTE_PUSH_CANCEL			= 50186,			// 交易行情推送，注册取消,最优


	E_FID_QB_HOLDING_CAL						= 50188,			//持有期计算器
	E_FID_QB_BOND_CAL							= 50189,			//债券计算器，预留

	//E_FID_QB_CFETS_QUOTE_QUERY					= 50190,			// 查询CFETS行情,最优  anson
	//E_FID_QB_CFETS_QUOTE_PUSH					= 50191,			// CFETS行情推送，注册,最优  anson
	//E_FID_QB_CFETS_QUOTE_PUSH_CANCEL			= 50192,			// CFETS行情推送，注册取消,最优  anson

	//E_FID_QB_CFETS_DEAL_QUERY					= 50193,			// 查询CFETS成交  anson
	E_FID_QB_CFETS_DEAL_PUSH					= 50194,			// CFETS成交推送，注册  anson
	E_FID_QB_CFETS_DEAL_PUSH_CANCEL				= 50195,			// CFETS成交推送，注册取消  anson

	//E_FID_QB_CFETS_MARKETSTREAM_QUERY			= 50196,			// 查询CFETS的MARKETSTREAM anson
	//E_FID_QB_CFETS_MARKETSTREAM_PUSH			= 50197,			// CFETS的MARKETSTREAM推送，注册  anson
	//E_FID_QB_CFETS_MARKETSTREAM_PUSH_CANCEL	= 50198,			// CFETS的MARKETSTREAM推送，注册取消

	E_FID_QB_EX_DEAL_QUERY						= 50199,			// 查询交易所成交  anson
	E_FID_QB_EX_DEAL_PUSH						= 50200,			// 交易所成交推送，注册  anson
	E_FID_QB_EX_DEAL_PUSH_CANCEL				= 50201,			// 交易成交推送，注册取消

	//E_FID_QB_EX_MARKETSTREAM_QUERY				= 50202,			// 查询交易所MARKETSTREAM  anson
	E_FID_QB_EX_MARKETSTREAM_PUSH				= 50203,			// 交易所MARKETSTREAM推送，注册  anson
	E_FID_QB_EX_MARKETSTREAM_PUSH_CANCEL		= 50204,			// 交易所MARKETSTREAM推送，注册取消

	E_FID_QB_INAV_QUERY							= 50205,			// 查询查询iNAV价格  anson
	E_FID_QB_INAV_PUSH							= 50206,			// iNAV价格推送，注册  anson
	E_FID_QB_INAV_CANCEL						= 50207,			// iNAV价格推送，注册取消

	E_FID_QB_CFETS_BEST_QUOTE_QUERY				= 50208,			// 查询CFETS最优报价报价（单券） add by lance 2018.3.28
	E_FID_QB_CFETS_BEST_QUOTE_PUSH				= 50209,			// CFETS最优报价报价 注册
	E_FID_QB_CFETS_BEST_QUOTE_PUSH_CANCEL		= 50210,			// CFETS最优报价报价 注销

	E_FID_QB_CFETS_MARKETMAKER_QUOTE_QUERY		= 50211,			// 查询CFETS点击成交报价（单券） add by lance 2018.3.28
	E_FID_QB_CFETS_MARKETMAKER_QUOTE_PUSH		= 50212,			// CFETS点击成交报价推送 注册
	E_FID_QB_CFETS_MARKETMAKER_QUOTE_PUSH_CANCEL = 50213,			// CFETS点击成交报价推送 注销

	E_FID_QB_CFETS_XBOND_QUOTE_QUERY			= 50214,			// 查询CFETS X-BOND报价（单券） add by lance 2018.3.28
	E_FID_QB_CFETS_XBOND_QUOTE_PUSH				= 50215,			// CFETS X-BOND报价推送 注册
	E_FID_QB_CFETS_XBOND_QUOTE_PUSH_CANCEL		= 50216,			// CFETS X-BOND报价推送 注销

	E_FID_QB_CFETS_DEAL_DAYLINE_QUERY			= 50217,			// 查询CFETS成交日线 add by lance 2018.3.28

	E_FID_QB_FINANCEWEIGHT_RATE_QUERY			= 50218,			// 理财加权利率
	E_FID_QB_WEIGHTLOAN_RATE_QUERY				= 50219,			// 加权贷款利率
	E_FID_QB_SHIBOR_QUERY						= 50220,			// 基准利率,查询Shibor
	E_FID_QB_FIXIN_REPO_RATE_QUERY				= 50221,			// 基准利率,查询回购定盘利率
	//E_FID_QB_FIXIN_DEPO_REPO_RATE_QUERY		= 50287,			// 基准利率,查询银银间回购定盘利率
	E_FID_QB_LPR_QUERY							= 50222,			// 基准利率,查询LPR,贷款利率
	E_FID_QB_SHIBOR_HIS_QUERY					= 50223,			// 基准利率,查询Shibor 历史
	E_FID_QB_REPO_AVG_QUERY						= 50224,			// 基准利率,查询回购平均
	E_FID_QB_DEPOSIT_QUERY						= 50225,			// 基准利率,存款
	E_FID_QB_LOAN_QUERY							= 50226,			// 基准利率,贷款
	E_FID_QB_DEPOIST_LOAN_QUERY					= 50227,			// 基准利率,存款及再贷款


	//E_FID_QB_MM_QUERY							= 50228,			// 货币市场,查询品种，童兴国
	//E_FID_QB_MM_CFETS_PRICE_QUERY				= 50229,			// 货币市场,查询CFETS实时行情，吴响
	//E_FID_QB_MM_EX_PRICE_QUERY				= 50230,			// 货币市场,查询交易所实时行情，吴响
	//E_FID_QB_MM_PRICE_PUSH					= 50231,			// 货币市场,推送实时行情，吴响
	//E_FID_QB_MM_PRICE_PUSH_CANCEL				= 50232,			// 货币市场,取消推送实时行情
	//E_FID_QB_MM_TICK_QUERY					= 50233,			// 货币市场,查询 日内实时Tick，童兴国
	//E_FID_QB_MM_KLINE_QUERY					= 50234,			// 货币市场,查询K线，童兴国

	E_FID_QB_MARKET_STREAM_EX_OVERSEAS_REQ_V19	= 50235,			//请求海外版市场报价 高级版 V19
	E_FID_QB_MARKET_STREAM_EX_REQ_V19			= 50236,			// 查询Marketstream V19,高级查询，待筛选条件  V19
	//E_FID_QB_MARKET_STREAM_DEAL_EX_REQ_V19	= 50237,			// 查询Marketstream 成交 V19,高级查询，待筛选条件 anson V19

	E_FID_QB_REMINDER_MESSAGE_MODIFY			= 50238,			// 提醒，消息修改 
	E_FID_QB_REMINDER_MESSAGE_BASE_QUERY		= 50239,			// 提醒，消息条数查询 

	E_FID_QB_BOND_SS_CREDIT_TYPE                = 50241, 		    //查询债券增信方式       //童兴国
	E_FID_QB_BOND_SS_BUSINESS_DATE              = 50242, 		    //查询债券发行人营业分布时间//童兴国
	E_FID_QB_BOND_SS_BUSINESS_DISTRIBUTE        = 50243, 		    //查询债券发行人营业分布//童兴国
	E_FID_QB_SQS_PRICE_SINGLE_HIS_REQ			= 50245,			//个券详情 单券历史 上清所估值信息 anson&童兴国
	//以下3个请求号2.7.1版本从客户端删除，服务端需要保留
	//E_FID_QB_BOND_SS_RATING_HIS               = 50240, 		    //查询债券评级机构      //童兴国
	//E_FID_QB_PAGEON_QUERY						= 50244,			// 请求页面显示隐藏总开关，QB1.9.3 xingguo
	//E_FID_QB_QMON_QUERY						= 50246,			// 关联QM总开关 QB2.0 xingguo

	E_FID_QB_TF_SETTLEMENT_ESTIMATE_REQ			= 50247,			//查询估结算
	//E_FID_QB_TF_SETTLEMENT_ESTIMATE_REG		= 50248,			//注册估结算推送
	//E_FID_QB_TF_SETTLEMENT_ESTIMATE_UNREG		= 50249,			//取消注册估结算推送


	E_FID_QB_GLOBAL_SWITCH						= 50250,			//请求全局开关设置
    E_FID_QB_TF_ALL_CONTRACT_INFO_REQ   		= 50251,			//国债期货查询所有合约，含过期合约，历史价差页面使用
    E_FID_QB_TF_ALL_KLINE_DAY_REQ               = 50252,             //国债期货所有合约（包含过期合约）日K线数据查询
    E_FID_QB_DEAL_TF_RELEVANT_STREAM_REQ        = 50253,            //成交统计国债期货相关券行情查询
    E_FID_QB_DEAL_TF_RELEVANT_STREAM_PUSH       = 50254,            //成交统计国债期货相关券行情推送
    E_FID_QB_DEAL_ACTIVE_FINANCIAL_BOND_REQ     = 50255,            //活跃金融债查询
	E_FID_QB_DEAL_TF_RELEVANT_STREAM_PUSH_CANCEL = 50256,            //成交统计国债期货相关券行情取消注册

	E_FID_QB_LPR_QUERY_V1						= 50257,			// 基准利率,查询LPR,贷款利率


	//E_FID_QB_DEAL_TERM_RANGE_REQ				= 50258,            //成交统计查询期限范围
	//E_FID_QB_DEAL_TERM_RANGE_MODIFY				= 50259,            //成交统计修改期限范围

	E_FID_QB_TF_SETTLEMENT_ESTIMATE_NEW_REG		= 50260,            //2.8开始推送估结算使用
	E_FID_QB_TF_SETTLEMENT_ESTIMATE_NEW_UNREG	= 50261,            //2.8开始取消推送估结算使用

	//E_FID_QB_DEAL_TERM_RANGE_REQ_NEW			= 50262,            //新成交统计查询期限范围 ADD BY GIVINS.ZHU 2017/2/20
	//E_FID_QB_DEAL_TERM_RANGE_MODIFY_NEW			= 50263,            //新成交统计修改期限范围 ADD BY GIVINS.ZHU 2017/2/20

	E_FID_QB_CFETS_MARKET_STREAM_DEAL_REQ		= 50264,			//CFETS当日成交逐笔

	E_FID_QB_CSI_AUTHORITY_REQ					= 50265,			//请求中证估值权限

	E_FID_QB_COMMONPAGE_REQ						= 50266,			//QB常用页查询
	E_FID_QB_COMMONPAGE_ADD_REQ					= 50267,			//QB常用页添加
	E_FID_QB_COMMONPAGE_DEL_REQ					= 50268,			//QB常用页删除

	E_FID_QB_FLAGS_REQ							= 50269,			//QB通用标志位查询
	E_FID_QB_FLAGS_ADD_REQ						= 50270,			//QB通用标志位添加

	E_FID_QB_ZZ_PRICE_SINGLE_HIS_REQ			= 50280,			//个券详情 单券历史 中证估值信息

	E_FID_QB_USERPERM_APPLY						= 50281,			//功能权限申请
	E_FID_QB_USERPERM_APPLY_QUERY				= 50282,			//功能权限申请状态查询

	E_FID_QB_USER_MEMBER_INFO_REQ				= 50283,			//QB会员信息及BP查询
	E_FID_QB_USER_MEMBER_INFO_PUSH				= 50284,			//QB会员等级或BP变化推送
	E_FID_QB_USER_MEMBER_INFO_PUSH_CANCEL		= 50285,			//QB会员等级或BP变化取消推送
	E_FID_QB_USER_MEMBER_BP_CHANGE_REQ			= 50286,			//客户登录或者打开页面发送，需要判断是不是第一次登录或者第一次打开

	E_FID_QB_FIXIN_DEPO_REPO_RATE_QUERY			= 50287,			// 基准利率,查询银银间回购定盘利率,QB3.8新增

    E_FID_QB_DEAL_TERM_RANGE_OVERALL_REQ		= 50288,            //成交统计综合期限查询
    E_FID_QB_DEAL_TERM_RANGE_OVERALL_MODIFY		= 50289,            //成交统计综合期限修改

	E_FID_QB_BESTPRICE_SYNTHETICAL_REQ			= 50290,			//债券详情-最优报价（5家综合）请求
	E_FID_QB_BESTPRICE_SYNTHETICAL_PUSH			= 50291,			//债券详情-最优报价（5家综合）注册推送
	E_FID_QB_BESTPRICE_SYNTHETICAL_PUSH_CANCEL	= 50292,
	E_FID_QB_FINACIAL_DATA						= 50300,			//债券详情页--查询发行人的财务数据

	E_FID_QB_CFETS_MARKET_STREAM_REQ			= 50301,			// 请求CFETS 市场动向
	E_FID_QB_CFETS_MARKET_STREAM_HIS_QRY4		= 50302,			// 查询CFETS 单券历史报价及成交

	E_FID_QB_EX_MARKETSTREAM_QUERY_NEW			= 50303,			// 查询交易所MARKETSTREAM 

	//Q米积分
	E_FID_QB_QMI_EXCHANGE_SCORE_REQ				= 50305,			//Q米积分
	//50306  “我礼物”获取积分用户列表;		后台与第三方交互使用
	//50307  “我礼物”下单	；					后台与第三方交互使用
	//50308  “我礼物”查用户有效积分；			后台与第三方交互使用
	E_FID_QB_QMI_EXCHANGE_SCORE_PUSH			= 50306,			//Q米积分变化
	E_FID_QB_QMI_EXCHANGE_SCORE_PUSH_CANCEL		= 50307,			//Q米积分变化取消注册
	//Q米积分 end

	E_FID_QB_EX_DEAL_PUSH_V2					= 50310,			// 交易所成交推送，注册  anson
	E_FID_QB_EX_DEAL_PUSH_V2_CANCEL				= 50311,			// 交易成交推送，注册取消

	E_FID_QB_BID_DOC_REQ						= 50320,			//机构债券的标书请求
	E_FID_QB_BID_DOC_PUSH						= 50321,			//机构债券的标书推送

	E_FID_QB_CTD_ANALYTIC_SERVUCE_REQ			= 50330,			//CTD分析
	E_FID_QB_BOND_CAL_REM2						= 50331,			//债券计算器，预留	2015.5.13 jacky.cai
	E_FID_QB_BOND_CAL_SPECIFIC_ITEMS_REQ		= 50332,			//债券计算器，请求含权债特殊条款
	E_FID_QB_HISSPREAD_CONVERT_FACTOR_REQ		= 50339,            //历史价差转换因子计算请求 FE

	E_FID_QB_CDC_AUTHORITY_REQ_V2				= 50340,			//请求中债估值权限，V3.6后替换原50030消息
	E_FID_QBA_YIELD_CURVE_REQ_V2				= 50342,			//综合分析 收益率曲线，V3.6后替换原53004消息
	//E_FID_QBA_CDC_PRICE_KLINE_DAY_REQ_V2		= 50343,			//集成定价 估值报价日线，V3.6后替换原53009消息
	E_FID_QB_CDC_PRICE_DETAIL_REQ_V2			= 50344,			//个券详情 估值信息，V3.6后替换原50039消息
	//E_FID_QB_CDC_PRICE_REQ_HIS_V2				= 50345, 		    //历史估值信息，V3.6后替换原50097消息
	E_FID_QB_CDC_PRICE_SINGLE_HIS_REQ_V2		= 50346,			//个券详情 单券历史，V3.6后替换原50098消息
	E_FID_QB_DATE_YIELD_CURVE_REQ_V2			= 50347,			//平安，国债所在期限的点过去天数的数据，V3.6后替换原58023消息
	//E_FID_CDC_AUTHORITY_CHANGE_PUSH_V2		= 50348,			//中债估值权限变化推送，V3.6后替换原53030消息

	E_FID_QB_HIS_SINGLE_DEAL_REQ				= 50349,			//个券详情 单券历史 成交信息（高开低收实时行情）-查询
	E_FID_QB_HIS_SINGLE_DEAL_REG				= 50350,			//个券详情 单券历史 成交信息（高开低收实时行情）-注册
	E_FID_QB_HIS_SINGLE_DEAL_UNREG				= 50351,			//个券详情 单券历史 成交信息（高开低收实时行情）-取消注册

	E_FID_QB_CFETS_QUOTE_BEST_ALL_REQ			= 50352,			//CFETS行情最优报价全量请求（增量）
	//E_FID_QB_CFETS_QUOTE_BEST_ALL_PUSH_OLDCODEC = 50353,			//CFETS行情最优报价全量注册
	E_FID_QB_CFETS_QUOTE_BEST_ALL_PUSH_CANCEL_OLDCODEC = 50354,			//CFETS行情最优报价全量取消注册

	E_FID_QB_CFETS_QUOTE_MARKETMAKER_ALL_REQ_OLDCODEC = 50355,			//CFETS行情做市报价全量请求（增量）
	E_FID_QB_CFETS_QUOTE_MARKETMAKER_ALL_PUSH	= 50356,			//CFETS行情做市报价全量注册
	E_FID_QB_CFETS_QUOTE_MARKETMAKER_ALL_PUSH_CANCEL = 50357,		//CFETS行情做市报价全量取消注册

	E_FID_QB_CFETS_QUOTE_XBOND_ALL_REQ			= 50358,			//CFETS行情X-BOND报价全量请求（增量）
	E_FID_QB_CFETS_QUOTE_XBOND_ALL_PUSH_OLDCODEC = 50359,			//CFETS行情X-BOND报价全量注册
	E_FID_QB_CFETS_QUOTE_XBOND_ALL_PUSH_CANCEL_OLDCODEC = 50360,			//CFETS行情X-BOND报价全量取消注册

	E_FID_QB_CFETS_DEAL_ALL_REQ					= 50361,			//CFETS行情成交行情（高开低收）全量请求（增量）
	E_FID_QB_CFETS_DEAL_ALL_PUSH				= 50362,			//CFETS行情成交行情全量注册
	E_FID_QB_CFETS_DEAL_ALL_PUSH_CANCEL			= 50363,			//CFETS行情成交行情全量取消注册

	E_FID_QB_CFETS_DEAL_TICK_ALL_REQ			= 50364,			//CFETS行情逐笔成交全量请求（增量）
	E_FID_QB_CFETS_DEAL_TICK_ALL_PUSH			= 50365,			//CFETS行情逐笔成交全量注册
	E_FID_QB_CFETS_DEAL_TICK_ALL_PUSH_CANCEL	= 50366,			//CFETS行情逐笔成交全量取消注册

	E_FID_QB_CFETS_DEAL_MARKETMAKER_ALL_REQ		= 50367,			//CFETS行情做市成交全量请求（增量）
	E_FID_QB_CFETS_DEAL_MARKETMAKER_ALL_PUSH	= 50368,			//CFETS行情做市成交全量注册
	E_FID_QB_CFETS_DEAL_MARKETMAKER_ALL_PUSH_CANCEL = 50369,		//CFETS行情做市成交全量取消注册

	E_FID_QB_MARKET_DEAL_REQ					= 50370,			//多券高开低收行情请求
	E_FID_QB_MARKET_DEAL_REG					= 50371,			//多券高开低收行情注册, 注册号50371，推送使用50350消息
	E_FID_QB_MARKET_DEAL_UNREG					= 50372,			//多券高开低收行情取消注册


	E_FID_QB_TF_PRICE_REQ_V2					= 50381,	// 国债期货行情查询anson，原50041

	E_FID_QB_TF_PRICE_PUSH_V2_OLDCODEC			= 50382,			// 国债期货行情推送anson，原50042
	E_FID_QB_TF_PRICE_PUSH_CANCEL_V2_OLDCODEC	= 50383,			// 国债期货行情取消注册----，原50046
	
	//E_FID_QB_MM_CFETS_PRICE_QUERY_V2			= 50384,			// 货币市场,查询CFETS实时行情，吴响，原50229
	E_FID_QB_MM_EX_PRICE_QUERY_V2				= 50385,			// 货币市场,查询交易所实时行情，吴响，原50230
	E_FID_QB_MM_PRICE_PUSH_V2_OLDCODEC			= 50386,			// 货币市场,推送实时行情，吴响，原50231
	E_FID_QB_MM_PRICE_PUSH_CANCEL_V2_OLDCODEC	= 50387,			// 货币市场,取消推送实时行情，原50232

	E_FID_QB_FIXIN_REPO_RATE_PUSH				= 50388,			// 基准利率,推送回购定盘利率
	E_FID_QB_FIXIN_REPO_RATE_PUSH_CANCEL		= 50389,			// 基准利率,取消推送回购定盘利率

	E_FID_QB_FIXIN_DEPO_REPO_RATE_PUSH			= 50400,			// 基准利率,推送银银间回购定盘利率
	E_FID_QB_FIXIN_DEPO_REPO_RATE_PUSH_CANCEL	= 50401,			// 基准利率,取消推送银银间回购定盘利率

	E_FID_QBA_PUBLIC_OPTION_V2_REQ				= 50402,			// 固收综合屏 公开市场操作-Req
	E_FID_QBA_PUBLIC_OPTION_V2_PUSH				= 50403,			// 固收综合屏 公开市场操作-推送
	E_FID_QBA_PUBLIC_OPTION_V2_PUSH_CANCEL		= 50404,			// 固收综合屏 公开市场操作-推送取消	
// 	E_FID_QBA_PUBLIC_OPTION_V2_SETTING_QRY		= 50405,			// 固收综合屏 公开市场操作-查询
// 	E_FID_QBA_PUBLIC_OPTION_V2_SETTING_ADD		= 50406,			// 固收综合屏 公开市场操作-保存
	E_FID_QBA_PUBLIC_OPTION_SETTING_QRY_V2		= 50407,			// 固收综合屏 公开市场操作-净投放计算公式查询
	E_FID_QBA_PUBLIC_OPTION_SETTING_ADD_V2		= 50408,			// 固收综合屏 公开市场操作-净投放计算公式保存

	E_FID_QB_BQ_REALTIME						= 50501,			//债券分时行情查询
	E_FID_QB_BQ_HISQUOTE_5						= 50502,			//债券K线5分钟行情查询
	E_FID_QB_BQ_HISQUOTE_DAY					= 50503,			//债券K线日行情查询
	E_FID_QB_BQ_HISQUOTE_WEEK					= 50504,			//债券K线周行情查询
	E_FID_QB_BQ_HISQUOTE_MONTH					= 50505,			//债券K线月行情查询
	E_FID_QB_BQ_HISQUOTE_YEAR					= 50506,			//债券K线年行情查询

	E_FID_QB_BOND_RELEASE_STAT_REQ				= 50550,			//发行统计
	E_FID_QB_BOND_RELEASE_STAT_REQ_V1			= 50551,			//发行统计

	E_FID_QB_BOND_ATTENTION_ADD_PUSH			= 50560,			//推送--债券添加关注
	E_FID_QB_BOND_ATTENTION_DEL_PUSH			= 50561,			//推送--债券取消关注

	E_FID_QB_BOND_QUOTE_INFO_TO_QM				= 50570,			//查询与设定标志位，标识QB中的债券行情变化是否推送到QM上
																	//一级市场提醒设置请求

	//E_FID_QB_EX_ALL_QUOTE_PUSH_OLDCODEC		= 50601,			//交易所报价行情流量优化版推送
	E_FID_QB_EX_ALL_QUOTE_PUSH_CANCEL_OLDCODEC	= 50602,			//交易所报价行情流量优化版推送取消


	E_FID_QB_REMINDER_MESSAGE_MODE_REQ			= 50610,			//提醒方式：请求和返回
	E_FID_QB_REMINDER_MESSAGE_MODE_SUBMIT		= 50611,			//提醒方式：提交和返回
	E_FID_QB_REMINDER_CALENDAR_REQ              = 50612,            //债券日历提前天数：请求和返回
	E_FID_QB_REMINDER_CALENDAR_SUBMIT		    = 50613,            //债券日历提前天数：提交和返回

	E_FID_QB_HISSPREAD_KLINE_REQ                = 50620,			// 历史价差日线数据
    E_FID_QB_HISSPREAD_ACFIN_BOND_KLINE_REQ     = 50621,			// 历史价差活跃金融债日线数据
    E_FID_QB_BOND_ACTIVE_MATRIX_KLINE_REQ       = 50622,            // 活跃及次活跃债 日线信息查询
	E_FID_QB_BOND_ACTIVE_MATRIX_KLINE_CDH_REQ	= 50623,			// 活跃券及次活跃券 日线信息查询，CDH端连续序列
	E_FID_QB_HISSPREAD_ACTIVE_SCHEME_REQ        = 50624,			//QB历史价差_序列存储方案查询
	E_FID_QB_HISSPREAD_ACTIVE_SCHEME_MDY		= 50625,			//QB历史价差_活跃券序列方案修改
	E_FID_QB_TDYSPREAD_SPREAD_PRE_CLOSE			= 50626,			//QB当日价差，请求利差昨结基础数据
	E_FID_QB_TDYSPREAD_BASIS_PRE_CLOSE			= 50627,			//QB当日价差，请求基差，净基差，IRR，期现价差昨结

	E_FID_QB_REMINDER_IRSBOND_ADD_REQ			= 50630,			// 新增IRS现券价差提醒
	E_FID_QB_REMINDER_IRSBOND_DEL_REQ   		= 50631,			// 删除IRS现券价差提醒
	E_FID_QB_REMINDER_IRSBOND_MODIFY_REQ		= 50632,			// 修改IRS现券价差提醒
	E_FID_QB_REMINDER_IRSBOND_QUERY_REQ			= 50633,			// 查询IRS现券价差提醒
	E_FID_QB_REMINDER_IRSBOND_PUSH              = 50634,            // IRS现券价差提醒满足条件推送，弹框
	E_FID_QB_REMINDER_IRSPRICE_PUSH				= 50635,			// IRS价格提醒满足条件推送，弹框
	
	E_FID_QB_REMINDER_NATDEBT_ADD_REQ           = 50650,			// 新增国债期货提醒
	E_FID_QB_REMINDER_NATDEBT_DEL_REQ           = 50651,			// 删除国债期货提醒
	E_FID_QB_REMINDER_NATDEBT_MODIFY_REQ		= 50652,			// 修改国债期货提醒
	E_FID_QB_REMINDER_NATDEBT_QUERY_REQ			= 50653,			// 查询国债期货提醒

	E_FID_QB_REMINDER_NATDEBT_PUSH              = 50654,            // 国债期货提醒满足条件推送，弹框
	E_FID_QB_REMINDER_BOND_MESSAGE_PUSH			= 50655,			// 债券弹窗提醒，消息推送 new

	E_FID_QB_NOTICE_AMS_REQ						= 50656,			// 请求QB打开WebQB状态
	E_FID_QB_NOTICE_AMS_PUSH					= 50657,			// AMS对QB推送打开WebQB的通知
	
	E_FID_QB_NAT_DEBT_ACTIVE_BOND_REQ           = 50658,            //查询国债期货的活跃券

	E_FID_QB_NAT_DEBT_CUSTOM_BOND_REQ           = 50659,            //查询国债期货的自选券
	E_FID_QB_NAT_DEBT_ADD_CUSTOM_BOND_REQ       = 50660,            //添加国债期货的自选券
	E_FID_QB_NAT_DEBT_REMOVE_CUSTOM_BOND_REQ    = 50661,            //删除国债期货的自选券

	E_FID_QB_NAT_DEBT_DEAL_TF_PRICE             = 50666,            //查询某一成交时刻国债期货价格
	E_FID_QB_TF_HIS_FLUCTUATION_REQ				= 50667,            //查询历史波动率
	E_FID_QB_QUERY_NEW_UERINFO_REQ				= 50668,            //请求新的用户信息
	E_FID_QB_USEPROTOCAL_QUERY_REQ				= 50669,			//查询用户有无同意电子使用协议，及前次同意时的名字与机构
	E_FID_QB_USEPROTOCOL_ADD_REQ				= 50670,			//用户同意电子使用协议

	E_FID_QB_ISSUEREPORT_REMINDER_PUSH			= 50671,			//利率招标室，发行快报提醒注册
	E_FID_QB_ISSUEREPORT_REMINDER_PUSH_CANCEL	= 50672,			//利率招标室，发行快报提醒取消注册

	E_FID_QB_MOBILE_BROKER_ACTIVATE				= 50673,			//手机扫码激活经纪商行情

	E_FID_QB_EXPIRATION_BUY_APPLY_REQ			= 50674,			//到期提醒-点击购买正式版
	E_FID_QB_NOTICE_REQ							= 50675,			//QB临时市场通知，交易警示请求
	//2019/10/16 by devin.zhang:包括紧急弹窗
	E_FID_QB_NOTICE_PUSH						= 50676,			//QB临时市场通知，交易警示注册
	E_FID_QB_NOTICE_PUSH_CANCEL					= 50677,			//QB临时市场通知，交易警示注销

	E_FID_QBA_CDC_PRICE_ALL_REQ_V2				= 50678,			//请求当天中债估值，根据权限，V4.1后替换原50341消息
	E_FID_QBA_CDC_PRICE_ALL_REQ_V3				= 50679,			//请求中债估值权限全量，替换50678消息； 包含含权债的行权估值和到期估值信息
	E_FID_QBA_CDC_PRICE_SPECIAL_REQ				= 50680,			//请求中债特殊债券估值权限

	E_FID_QB_CDC_PRICE_SINGLE_BOND_HIS_REQ		= 50681,			//请求单券历史中债估值，行权/到期
	E_FID_QB_CSI_PRICE_SINGLE_BOND_HIS_REQ		= 50682,			//请求单券历史中证估值，行权/到期
	//规则描述
	//请求包中DateBegin和DateEnd依旧可以填一段时间， - 1代表当天
	//若DateBegin = DateEnd，指只请求一天的数据，若该日没有估值（行权 / 到期都没有），则往前找，直至找到有效数据
	//若DateBegin≠DateEnd，则不采用前一条规则，返回请求返回内的数据即可，若无则返回空值

	E_FID_QB_SEND_EVENT_LOG_REQ					= 50699,			//上传EventLog，埋点，5.0版本
	E_FID_QB_EXCHANGE_REPO_PRICE_REQ			= 50700,		    //交易所回购周年化加权请求，请求返回

	E_FID_QB_SERVICE_PLATFORM_REQ				= 50701,			//森浦服务平台
	E_FID_QB_SERVICE_PLATFORM_MANAGER_REQ		= 50702,			//森浦服务平台，请求客户经理信息

	E_FID_QB_BOND_LIQUIDITY_FULL_REQ			= 50706,			//请求债券流动性评分全量
	E_FID_QB_ISSUER_LIQUIDITY_FULL_REQ			= 50707,			//请求主体流动性评分全量
	/************************************************************************/
	/* 我的关注功能号修改                                                                     */
	/************************************************************************/

	//2020/07/13  志民修改功能号的顺序
	E_FID_QB_ATTENTION_ADD2_V2 = 50730,		//50071,			// 我的关注：增
	E_FID_QB_ATTENTION_DEL_V2 = 50731,		// 50002,		// 我的关注：删
	//E_FID_QB_ATTENTION_MDF2_V2 = 50732,		//50027,			// 我的关注：改，新增修改关注, del by lance 2021.1.13
	E_FID_QB_ATTENTION_QRY_V2 = 50733,		//50074,			// 我的关注：查 // 输出bond_key
	E_FID_QB_ATTENTION_SORT_V2 = 50734,		//50014,			// 客户排序请求
	E_FID_QB_ATTENTION_DEFAULT_V2 = 50735,		//50022,			// 设置或者取消“我的关注”的默认值
	E_FID_QB_ATTENTION_BATCH_ADD_V2 = 50736,		//50076,			// 我的关注：批量增加增 tong
	E_FID_QB_ATTENTION_BATCH_DEL_V2 = 50737,		//,新增			    // 我的关注：批量删除
	E_FID_QB_ATTENTION_GROUP_ADD_V2 = 50738,		//50024,			// 我的关注分类：增						
	E_FID_QB_ATTENTION_GROUP_DEL_V2 = 50739,		//50025,			// 我的关注分类：删						
	E_FID_QB_ATTENTION_GROUP_MDF_V2 = 50740,		//50026,			// 我的关注分类：改--分类	
	E_FID_QB_ATTENTION_GROUP_QRY_V2 = 50741,		//50028,			// 我的关注：查询分组
	E_FID_QB_ATTENTION_GROUP_SORT_V2 = 50742,		//50187,			//我的关注分组排序

	/////////////////////////////////////////////////////////////////////////////////////////

	E_FID_QB_HIS_MARKETSTREAM_BOND				= 50800,            //请求某一天的历史成交债券信息
	E_FID_QB_HIS_MARKETSTREAM_DEAL				= 50801,			//请求某一天的历史成交信息

	E_FID_QB_CREDIT_REPORT_REMINDER_PUSH		= 50802,			//信用发行社，发行快报提醒注册
	E_FID_QB_CREDIT_REPORT_REMINDER_PUSH_CANCEL = 50803,			//信用发行社，发行快报提醒取消注册

	E_FID_QB_NCD_REMINDER_PUSH					= 50804,			//NCD一级提醒注册
	E_FID_QB_NCD_REMINDER_PUSH_CANCEL			= 50805,			//NCD一级取消注册

	E_FID_QB_NCD_CASH_REMINDER_PUSH				= 50806,			//NCD 资金播报 提醒注册
	E_FID_QB_NCD_CASH__REMINDER_PUSH_CANCEL		= 50807,			//NCD 资金播报 取消注册

	E_FID_QB_PANORAMIC_MARKET_STREAM_DEAL_REQ	= 50808,			//请求所有broker对应的成交，全景统计页面使用
	E_FID_QB_PANORAMIC_MARKET_STREAM_DEAL_PUSH	= 50809,			//bond成交推送，全景统计页面使用

	E_FID_QB_PANORAMIC_MARKET_STREAM_DEAL_PUSH_CACEL = 50810,			//bond成交取消推送，全景统计页面使用
	E_FID_QB_BOND_LIQUIDITY_REQ					= 50811,			//债券流动性查询
	
	E_FID_QB_BOND_GRADE_INSTITUTION_REQ			= 50812,			//请求债券评级机构
	E_FID_QB_BOND_FRN_INDEX_INFO				= 50813,			//请求浮息债相关信息，ABS计算器使用

	E_FID_QB_REMINDER_PASSIVE_PUSH				= 50814,			//QB被动提醒，通用，不用注册，网关主动推送

	//FI=Fixed income
	E_FID_QB_FI_DEAL_REALTIME_REQ				= 50815,			//上证固收实时成交
	E_FID_QB_FI_DEAL_REALTIME_PUSH				= 50816,			//上证固收实时成交-推送注册
	E_FID_QB_FI_DEAL_REALTIME_PUSH_CANCEL		= 50817,			//上证固收实时成交-取消推送注册
	//E_FID_QB_FI_DEAL_HISTORY_REQ				= 50818,			//上证固收成交历史请求
	E_FID_QB_FI_QUOTE_REALTIME_REQ				= 50819,			//上证固收报价请求
	E_FID_QB_FI_QUOTE_REALTIME_PUSH				= 50820,			//上证固收报价推送-注册
	E_FID_QB_FI_QUOTE_REALTIME_PUSH_CANCEL		= 50821,			//上证固收报价推送-反注册
	
	//固收综合屏
	E_FID_QB_FI_COMP_CREDIT_PRI_REQ				= 50822,			//固收综合屏，信用债一级发行计划，请求
	E_FID_QB_FI_COMP_CREDIT_PRI_PUSH			= 50823,			//固收综合屏，信用债一级发行计划，注册推送
	E_FID_QB_FI_COMP_CREDIT_PRI_PUSH_CANCEL		= 50824,			//固收综合屏，信用债一级发行计划，取消注册

	E_FID_QB_FI_COMP_NCD_PRI_REQ				= 50825,			//固收综合屏，NCD一级成交，请求
	E_FID_QB_FI_COMP_NCD_PRI_PUSH				= 50826,			//固收综合屏，NCD一级成交，注册推送
	E_FID_QB_FI_COMP_NCD_PRI_PUSH_CANCEL		= 50827,			//固收综合屏，NCD一级成交，取消注册

	E_FID_CIB_REPO_REQ							= 50828,			//请求，银行间回购请求
	E_FID_CIB_REPO_PUSH							= 50829,			//推送，银行间回购推送
	E_FID_CIB_REPO_PUSH_CANCEL					= 50830,			//取消推送，银行间回购推送

	E_FID_QB_FI_DEAL_HISTORY_REQ_RAW			= 50831,			//上证固收成交历史请求，替换原50818

	E_FID_QB_SHIBOR_PUSH						= 50832,			// 基准利率,推送Shibor
	E_FID_QB_SHIBOR_PUSH_CANCEL					= 50833,			// 基准利率,取消推送Shibor

	E_FID_QB_CDC_PRICE_SINGLE_HIS_REQ_V3		= 50834,			//个券详情 中债估值历史，V4.6后商业银行永续债替换原50346消息 判断完权限后获取

	E_FID_QB_HOMEPAGE_CLICK_LOG_REQ				= 50835,			//首页点击事件统计
	
	//E_FID_QB_ALL_READY_USE					= 50837				//50337已经被使用了
	//E_FID_QB_HTTP_REQ							= 50838,			//通用接口，通过后台访问http服务
	E_FID_QB_HTTPFILE_REQ						= 50839,			//通用接口，通过后台获取http文件
	E_FID_QB_COMPANYLOGO_REQ					= 50840,			//请求机构logo
	E_FID_QB_COMPANYLOGO_CHANGE_PUSH			= 50841,			//机构logo更新推送，无需注册，全市场推送
	E_FID_QB_HTTP_REQ							= 50842,			//通用接口，通过后台访问http服务，请求，替换50838	
	E_FID_QB_REMINDER_HTTP_PUSH					= 50843,			//QB被动提醒，增加http推送内容
	E_FID_QB_HTTP_CHANGE_PUSH					= 50844,			//50842对应网页变化推送

	E_FID_QB_TF_PRICE_PUSH_V3					= 50901,			//国债期货行情推送,替换50382
	E_FID_QB_TF_PRICE_PUSH_CANCEL_V3			= 50902,			//国债期货行情取消注册，替换50383

	E_FID_QB_BEST_PRICE_PUSH_V2					= 50903,			//最优报价,替换50007
	E_FID_QB_EX_ALL_QUOTE_PUSH_V2				= 50904,			//交易所报价行情流量优化版推送,替换50601
	E_FID_QB_EX_ALL_QUOTE_PUSH_V2_CANCEL		= 50905,			//交易所报价行情流量优化版推送取消，替换50602
	E_FID_QB_MM_PRICE_PUSH_V3					= 50906,			//货币市场推送实时行情,替换50386
	E_FID_QB_MM_PRICE_PUSH_CANCEL_V3			= 50907,			//货币市场,取消推送实时行情，替换50387
	E_FID_QB_CFETS_XBOND_QUOTE_ALL_PUSH_V2		= 50908,			//CFETS行情X-BOND报价全量注册，替换50359
	E_FID_QB_CFETS_XBOND_QUOTE_ALL_PUSH_V2_CANCEL	= 50909,			//CFETS行情X-BOND报价全量取消注册，替换50360
	E_FID_QB_CFETS_QUOTE_MARKETMAKER_ALL_V2_REQ		= 50910,			//CFETS行情做市报价全量请求（增量），替换50355
	E_FID_QB_CFETS_BEST_QUOTE_ALL_PUSH_V2			= 50911,			//CFETS行情最优报价全量注册，替换50353
	E_FID_QB_CFETS_BEST_QUOTE_ALL_PUSH_V2_CANCEL	= 50912,			//CFETS行情最优报价全量取消注册，替换50354
	E_FID_IRS_YIELD_CURVE_TABLE_PUSH				= 50913,			// IRS收益率曲线 PUSH
	E_FID_IRS_YIELD_CURVE_TABLE_PUSH_CANCEL			= 50914,			// IRS收益率曲线 PUSH CANCEL


	E_FID_QB_TF_PRICE_PUSH_MINI					= 50923,			//国债期货行情精简版推送注册
	E_FID_QB_TF_PRICE_PUSH_MINI_CANCEL			= 50924,			//国债期货行情精简版推送取消注册

	E_FID_QB_TF_PRICE_FIVE_REQ					= 50925,			//国债期货5档行情查询
	E_FID_QB_TF_PRICE_FIVE_PUSH					= 50926,			//国债期货5档行情推送
	E_FID_QB_TF_PRICE_FIVE_PUSH_CANCEL			= 50927,			//国债期货5档行情取消注册

	E_FID_QB_CFETS_MARKET_STREAM_REQ_NEW		= 50928,		   // 请求CFETS 市场动向XBOND+做市  相对于老版本50301
	E_FID_QB_CFETS_MARKET_STREAM_HIS_NEW		= 50929,			// 查询CFETS 单券历史报价及成交 XBOND+做市 相对于老版本50302

	// 债券数据浏览器
	E_FID_QB_BDX_SECTOR_REQ						= 51000,			//请求板块树
	E_FID_QB_BDX_INDEX_REQ						= 51001,			//请求指标树
	//E_FID_QB_BDX_INDEX_ATTR_REQ = 51002; 
	E_FID_QB_BDX_INDEX_ATTR_REQ_V1					= /*原来的51002*/51034,			//请求指标描述
	E_FID_QB_BDX_INDEX_PARAM_REQ				= 51003,			//请求指标参数
	E_FID_QB_BDX_INDEX_PARAM_ITEM_REQ			= 51004,			//请求指标参数取值范围
	E_FID_QB_BDX_INDEX_PARAM_RELATION_REQ		= 51005,			//请求指标参数关系表
	E_FID_QB_BDX_CODE_REQ						= 51006,			//请求指标配置编码
	E_FID_QB_BDX_DICT_REQ						= 51007,			//请求指标所对应字典groupname
	E_FID_QB_BDX_SECTOR_BOND_REQ				= 51010,			//请求板块债券数据 
	E_FID_QB_BDX_SECTOR_BOND_REQ_EX				= 51011,			//请求板块债券数据,指标&板块&关注+增加的债券

	E_FID_QB_BDX_TEMPLATE_REQ					= 51020,			//债券浏览器-模板-查询
	E_FID_QB_BDX_TEMPLATE_ADD					= 51021,			//债券浏览器-模板-新增
	E_FID_QB_BDX_TEMPLATE_MDF					= 51022,			//债券浏览器-模板-修改
	E_FID_QB_BDX_TEMPLATE_DEL					= 51023,			//债券浏览器-模板-删除
	E_FID_QB_BDX_SCHEME_REQ						= 51024,			//债券浏览器-方案-查询
	E_FID_QB_BDX_SCHEME_ADD						= 51025,			//债券浏览器-方案-新增
	E_FID_QB_BDX_SCHEME_MDF						= 51026,			//债券浏览器-方案-修改
	E_FID_QB_BDX_SCHEME_DEL						= 51027,			//债券浏览器-方案-删除

	E_FID_QB_BDX_TEMPLATE_BONDKEY_REQ			= 51028,			//债券浏览器-模板-查询Bond Key
	E_FID_QB_BDX_TEMPLATE_BONDKEY_ADD			= 51029,			//债券浏览器-模板-新增Bond Key
	E_FID_QB_BDX_TEMPLATE_BONDKEY_MODIFY		= 51030,			//债券浏览器-模板-修改Bond Key
	E_FID_QB_BDX_SCHEME_ISSUER_REQ				= 51031,			//债券浏览器-方案-查询发行人
	E_FID_QB_BDX_SCHEME_ISSUER_ADD				= 51032,			//债券浏览器-方案-新增发行人
	E_FID_QB_BDX_SCHEME_ISSUER_MODIFY			= 51033,			//债券浏览器-方案-修改发行人


	E_FID_QB_DEBUG_REPORT						= 51798,			// 客户端检测调试寄存器异常，上报服务器
	E_FID_QB_QUOTE_RESET						= 51799,			// broker行情重置

	//=========================================****Mobile 51800---51999***======================================================


	E_FID_QB_KICK_MULTI_BROKER					= 51998,			// 多终端登录，踢经济商行情
	E_FID_QB_KICK_MULTI_TERMINAL				= 51999,			// 多终端登录，踢下线

	//=========================================****IRS 52000---52499***=======================================================
//	E_FID_IRS_MARKET_STREAM_REQ					= 52000,			//查询IRS的marketstream qb2.1.2之前的版本请求最优报价
//	E_FID_IRS_MARKET_STREAM_PUSH				= 52001,			//marketstream PUSH
	E_FID_IRS_BANK_RELATION_REQ					= 52002,			//查询银行关系
	E_FID_IRS_BANK_RELATION_PUSH				= 52003,			//银行关系推送

//	E_FID_IRS_MARKET_STREAM_HIS_REQ				= 52004,			//查询IRS的当日marketstream qb2.1.2之前的版本请求当日历史

//	E_FID_IRS_MARKET_STREAM_REQ                 = 52005,			//查询IRS的marketstream qb2.1.2及之后的版本请求最优报价
	E_FID_IRS_MARKET_STREAM_HIS_REQ             = 52006,            //查询IRS的当日marketstream qb2.1.2及之后的版本请求当日历史

	E_FID_IRS_DAY_KLINE_REQ                     = 52008,            //IRS日线查询
	E_FID_IRSBOND_PRICEPROTOCOL                 = 52009,            //IRSBOND价格曲线图表协议

	E_FID_IRS_ATTENTION_ADD						= 52010,			// IRS我的关注：增
	E_FID_IRS_ATTENTION_DEL						= 52011,			// IRS我的关注：删
	E_FID_IRS_ATTENTION_MDF						= 52012,			// IRS我的关注：改
	E_FID_IRS_ATTENTION_SORT					= 52013,			// IRS客户排序请求
	E_FID_IRS_ATTENTION_QRY						= 52014,			// IRS我的关注：查
	E_FID_IRS_ATTENTION_GROUP_ADD				= 52015,			// IRS我的关注分类：增		
	E_FID_IRS_ATTENTION_GROUP_DEL				= 52016,			// IRS我的关注分类：删
	E_FID_IRS_ATTENTION_GROUP_MDF				= 52017,			// IRS我的关注分类：改--分类
	E_FID_IRS_ATTENTION_GROUP_QRY				= 52018,			// IRS我的关注：查询分组

	E_FID_IRS_MARKET_DEAL_REQ					= 52020,			// 查询IRS的market deal
	E_FID_IRS_MARKET_DEAL_PUSH					= 52021,			// market deal PUSH
	E_FID_IRS_MARKET_DEAL_PUSH_CANCEL			= 52022,			// market deal PUSH CANCEL
//	E_FID_IRS_MARKET_STREAM_PUSH_CANCEL			= 52023,			// marketstream PUSH CANCEL

	E_FID_IRS_CAL								= 52024,			//IRS 计算器
	E_FID_IRS_CAL_CURVE_PROTOCOL				= 52025,			//IRS 计算器曲线图表协议
	E_FID_IRS_CAL_CASHFLOW_PROTOCOL				= 52026,			//IRS 计算器现金流图表协议
	E_FID_IRS_CAL_TIMETREND_PROTOCOL			= 52027,			//IRS 计算器分时走势图表协议
    E_FID_IRS_CAL_SPREAD                        = 52028,            //IRS计算器Spread
    E_FID_IRS_CAL_BASIS                         = 52029,            //IRS计算器Basis

	E_FID_IRS_YIELD_CURVE_REQ					= 52030,			// 查询IRS收益率曲线
	//E_FID_IRS_YIELD_CURVE_PUSH				= 52031,			// IRS收益率曲线 PUSH
	//E_FID_IRS_YIELD_CURVE_PUSH_CANCEL			= 52032,			// IRS收益率曲线 PUSH CANCEL

    E_FID_IRS_KERNALCLIENT_REQ                  = 52033,            // IRS核心用户请求
    E_FID_IRS_KERNALCLIENT_PUSH                 = 52034,            // IRS核心用户更新推送，全量推送

	E_FID_IRS_MARKET_STREAM_REQ_V2				= 52035,			// 查询IRS的marketstream qb2.1.2及之后的版本请求最优报价，原52005
	//E_FID_IRS_MARKET_STREAM_PUSH_V2			= 52036,			// marketstream PUSH，原52001
	E_FID_IRS_MARKET_STREAM_PUSH_CANCEL_V2		= 52037,			// marketstream PUSH CANCEL，原52023

	E_FID_IRS_MARKET_DEAL_REQ_V2				= 52038,			// 查询IRS的market deal，原52020

	E_FID_IRS_MARKET_STREAM_REQ_V3				= 52039,			// 查询IRS的marketstream, 不含深度行情，原52035Z
	E_FID_IRS_MARKET_STREAM_PUSH_V3				= 52040,			// marketstream PUSH，原52036
	E_FID_IRS_MARKET_STREAM_PUSH_CANCEL_V3		= 52041,			// marketstream PUSH CANCEL，原52037

	E_FID_IRS_MARKET_DEEPER_QUOTE_REQ			= 52042,			// 深度行情请求
	E_FID_IRS_MARKET_DEEPER_QUOTE_PUSH			= 52043,			// 深度行情注册推送
	E_FID_IRS_MARKET_DEEPER_QUOTE_PUSH_CANCEL	= 52044,			// 深度行情，取消注册推送	

	E_FID_IRS_MARKET_DEAL_REQ_V3				= 52045,			//IRS成交摘要信息请求
	E_FID_IRS_MARKET_DEAL_PUSH_V3				= 52046,			//IRS成交摘要信息推送
	E_FID_IRS_MARKET_DEAL_PUSH_V3_CANCEL		= 52047,			//IRS成交摘要信息推送

//========================================****X-SWAP 52500---52599***=======================================================

    E_FID_X_SWAP_MARKET_STREAM_SNAP_SHOT_REQ    = 52500,            // X-SWAP 报价行情快照
    //E_FID_X_SWAP_MARKET_STREAM_PUSH_OLDCODEC    = 52501,            // X-SWAP 报价推送
    //E_FID_X_SWAP_MARKET_STREAM_PUSH_CANCEL_OLDCODEC = 52508,        // X-SWAP 报价取消推送


    E_FID_X_SWAP_MARKET_DEAL_SNAP_SHOT_REQ      = 52502,            // X-SWAP 成交行情快照
    E_FID_X_SWAP_MARKET_DEAL_PUSH               = 52503,            // X-SWAP 成交推送
    E_FID_X_SWAP_MARKET_DEAL_PUSH_CANCEL        = 52509,            // X-SWAP 成交取消推送


    E_FID_X_SWAP_K_LINE_SNAP_SHOT_REQ           = 52504,            // X-SWAP 日线快照（每日计算价，快照使用)


    E_FID_X_SWAP_MARKET_STREAM_HIS_REQ          = 52505,            // X-SWAP 当日报价历史

    E_FID_X_SWAP_MARKET_DEAL_HIS_REQ            = 52506,            // X-SWAP 当日成交历史

    E_FID_X_SWAP_K_LINE_HIS_REQ                 = 52507,            // X_SWAP 每日结算价历史(当日更新结算需不需要推送)

	E_FID_X_SWAP_MARKET_STREAM_PUSH_V2			= 52510,            // X-SWAP 报价推送 替换52501
	E_FID_X_SWAP_MARKET_STREAM_PUSH_V2_CANCEL	= 52511,            // X-SWAP 报价取消推送 替换52508

	///我的关注NEW
	E_FID_QB_NEW_ATTENTION_BLACKLIST_QRY     = 52512,			// 我的关注NEw请求黑名单
	E_FID_QB_NEW_ATTENTION_BLACKLIST_ADD     = 52513,			// 我的关注NEw添加黑名单
	E_FID_QB_NEW_ATTENTION_BLACKLIST_DELETE= 52514,			// 我的关注NEw删除黑名单

	//债券中债估值
	E_FID_QB_CDC_AREA_PRICE_QRY = 52515,			//请求某些特定区间的中债估值数据
	
	//========================================****报价板 52600---52699***=======================================================

    E_FID_QB_QUOTE_BOARD_SCHEME_QRY				= 52600,			//报价板方案查询
	E_FID_QB_QUOTE_BOARD_SCHEME_MDF				= 52601,			//报价板方案增加；替换; 删除
	E_FID_QB_QUOTE_BOARD_SEL_SCHEME_QRY			= 52602,			//用户使用的方案名称
	E_FID_QB_QUOTE_BOARD_SEL_SCHEME_MDF			= 52603,			//用户使用的方案名称修改

	//========================================****TF统计 52700---52999***=======================================================
	E_FID_QB_TF_STATISTICS_SCHEME_QRY			= 52700,			//TF保存方案查询
	E_FID_QB_TF_STATISTICS_SCHEME_MDF			= 52701,			//TF保存方案修改
	E_FID_QB_TF_SETTLEMENT_OVERALL_QRY			= 52702,			//TF交割统计历史价格数据, 当日请求，给当日的统计
	E_FID_QB_TF_SETTLEMENT_DETAIL_QRY			= 52703,			//TF交割统计交割明细
	E_FID_QB_TF_SETTLEMENT_REPORT_TF_QRY		= 52704,			//TF交割统计交割报告查询,期货
	E_FID_QB_TF_SETTLEMENT_REPORT_BOND_QRY		= 52705,			//TF交割统计交割报告查询,国债
	E_FID_QB_TF_MAIN_RANK_OVERALL_QRY			= 52706,			//TF主力成交持仓排名市场总览,根据日期查询
	E_FID_QB_TF_MAIN_RANK_COMPO_RANK_QRY		= 52707,			//TF主力成交持仓排名_当期综合排名汇总（前20），根据日期查询
	E_FID_QB_TF_MAIN_RANK_CLASS_RANK_QRY		= 52708,			//TF主力成交持仓排名_主力成交持仓排名（前20），根据日期查询
	E_FID_QB_TF_STATISTICS_FILTER_QRY			= 52709,			//TF统计_主力成交持仓统计查询，全数据
	E_FID_QB_TF_STATISTICS_FUTURE_COMPANIES_QRY	= 52710,			//TF统计持仓_期货公司查询

	//=========================================****QBA 53000---53199***=======================================================
	E_FID_QBA_ISSUE_RATE_REQ					= 53000,			//查询QBA 债券首页的发行与到期--利率债  OK
	E_FID_QBA_ISSUE_CREDIT_REQ					= 53001,			//查询QBA 债券首页的发行与到期--信用债  OK
	E_FID_QBA_MATURITY_REQ						= 53002,			//查询QBA 债券首页的到期兑付  改进
	E_FID_QBA_PUBLIC_OPTION_REQ					= 53003,			//查询QBA 债券首页的公开市场操作 20131220
	//E_FID_QBA_YIELD_CURVE_REQ					= 53004,			//查询QBA 债券首页的收益率曲线 铨 20131219

	//E_FID_QBA_BROKER_PRICE_REQ				= 53005,			//集成定价 查询QBA 当天中介实时报价 anson  20131219
	//E_FID_QBA_BROKER_PRICE_PUSH				= 53006,			//集成定价 QBA 接收中介报价推送 anson  20131219
	//E_FID_QBA_BROKER_PRICE_PUSH_CANCEL		= 53007,			//集成定价 取消接收中介报价推送  20131219
	//E_FID_QBA_BROKER_PRICE_KLINE_DAY_REQ		= 53008,			//集成定价 查询QBA 中介报价日线 童 20131220
	//E_FID_QBA_CDC_PRICE_KLINE_DAY_REQ			= 53009,			//集成定价 查询QBA 估值报价日线 铨 20131220

	E_FID_QBA_BROKER_DEAL_KLINE_DAY_REQ			= 53010,			//集成定价 查询QBA 成交日线 童 20131220
	//E_FID_QBA_CDC_PRICE_REQ					= 53011,			//主动交易 估值报价 铨 20131221，removed by lance 2018.4.2

	//E_FID_QBA_QB_GRADE_REQ					= 53012,			//集成定价  信用评分  童
	//E_FID_QBA_BOND_BASEINFO_REQ				= 53013,			//集成定价  债券基本信息 童

	//E_FID_QBA_CDC_PRICE_ALL_REQ				= 53014,			//主动交易 所有估值报价 铨 20131230
	E_FID_CS_PRICE_ALL_REQ						= 53015,			//所有中证估值报价 2.8 addy by lance 20160612

	//E_FID_QBA_LIQUIDITY_SCORE_REQ				= 53016,			//流动性评价  流动性评分 anson
	//E_FID_QBA_LIQUIDITY_INDEX_REQ				= 53017,			//流动性评价  流动性指数 童

	//E_FID_QBA_TRACING_BROKER_REQ				= 53018,			//定价跟踪  中介报价跟踪 anson
	//E_FID_QBA_TRACING_BROKER_PUSH				= 53019,			//定价跟踪  中介报价跟踪 anson
	//E_FID_QBA_TRACING_BROKER_PUSH_CANCEL		= 53020,			//定价跟踪  中介报价跟踪 anson

	//E_FID_QBA_TRACING_BROKER_CDC_REQ			= 53021,			//定价跟踪  中介VS估值跟踪 anson
	//E_FID_QBA_TRACING_BROKER_CDC_PUSH			= 53022,			//定价跟踪  中介VS估值跟踪 anson
	//E_FID_QBA_TRACING_BROKER_CDC_PUSH_CANCEL	= 53023,			//定价跟踪  中介VS估值跟踪 anson

	E_FID_CDC_AUTHORITY_CHANGE_PUSH				= 53030,			//中债估值 权限改变

	E_FID_QBA_FINANCING_REQ						= 53031,			//融资养券--获取价格

	E_FID_QBA_DEAL_ANALYSIS_AVG_REQ				= 53032,			//成交分析--获取成交平均价格
//	E_FID_QBA_DEAL_ANALYSIS_DAILY_HIS_REQ		= 53033,			//成交分析--获取不同类型债券的历史成交笔数总和

	E_FID_QBA_FINANCING_MACRO_INDEX_REQ			= 53034,			//融资养券--获取宏观指标数据

	E_FID_QBA_BROKER_PRICE_KLINE_DAY_OVERSEA_REQ	= 53038,	//集成定价 查询QBA 中介报价日线--海外版 童 
	E_FID_BOND_BASE_INFO_REQ					= 53039,		//债券基础信息查询

	//首页 市场行情
	E_FID_QB_PAGE_EXCHANGE_REALTIME_REQ         = 53040,   //交易所市场行情--请求
	E_FID_QB_PAGE_EXCHANGE_REALTIME_PUSH        = 53041,   //交易所市场行情--推送
	E_FID_QB_PAGE_EXCHANGE_REALTIME_CANCEL      = 53042,   //交易所市场行情--取消推送

	E_FID_QB_PAGE_HOT_INTEREST_BOND_REQ		    = 53043,   //请求市场行情活跃债券

	E_FID_QB_PAGE_BROKER_BOND_DEAL_REQ          = 53044,   //银行间债券的成交列表--请求
	E_FID_QB_PAGE_BROKER_BOND_DEAL_PUSH			= 53045,   //银行间债券的成交列表--推送
	E_FID_QB_PAGE_BROKER_BOND_DEAL_CANCEL		= 53046,   //银行间债券的成交列表--取消推送

	E_FID_QB_BOND_CDC_SPECIAL_INFO				= 53048,	

	E_FID_QBA_BROKER_DEAL_KLINE_DAY_CLOSE_REQ	= 53080,            //集成定价 查询QBA 成交日线收盘收益率//请求债券中债估值特殊信息

	E_FID_CSI_PRICE_ALL_REQ_V2					= 53409,	//中证估值V2请求号，行权/到期


	//=========================================****太保 投资限制 53200---53219***==================================================================
	E_FID_INV_BONDPOOL_REQ						= 53200,			//投资限制 债券池 请求
	E_FID_INV_BONDPOOL_PUSH						= 53201,			//投资限制 债券池 注册推送
	E_FID_INV_BONDPOOL_PUSH_CANCEL				= 53202,			//投资限制 债券池 取消推送

	//E_FID_QBA_DURATION_ALL_REQ				= 53039,			//查询所有债券久期数据

    //=========================================****QB 新版成交统计 53220---53999***=====================================================
    E_FID_QB_DEAL_ATTN_QRY                      = 53220,            //新版成交统计关注查询
    E_FID_QB_DEAL_ATTN_GROUP_MDF_ADD            = 53221,            //新版成交统计关注分类修改：增/删/修改名称
    E_FID_QB_DEAL_ATTN_BOND_LIST_MDF            = 53222,            //新版成交统计关注具体分类下债券列表：增/删

	/*//=========================================****手机验证=========================================*****/
	E_FID_QB_MOBILE_VERIFY_INFO                 = 53223,            //获取手机验证信息
	E_FID_QB_MOBILE_SEND_MESSAGE				= 53224,            //发送验证码
	E_FID_QB_MOBILE_VERIFY_MESSAGE			    = 53225,            //验证手机验证码
	E_FID_QB_MOBILE_VERIFY_NEST_TIMES			= 53226,            //下次再说
	E_FID_QB_MOBILE_MODIFY_USEINFO				= 53227,            //修改手机验证用户信息

	//=========================================**** 全球市场概览 53300 ~ 53499***====================================================
	E_FID_QB_GMKT_INDEX_BASEINFO_REQ			= 53300,			//全球指标基础信息
	//E_FID_QB_GMKT_TIMEZONE_REQ					= 53301,			//全球时区信息及夏令时
		E_FID_QB_GMKT_TIMEZONE_REQ_V2	= 53302,	//全球时区信息及夏令时,原为53301

	E_FID_QB_GMKT_INDEX_PRICE_REQ				= 53310,			//指标价格请求
	//E_FID_QB_GMKT_INDEX_PRICE_PUSH = 53311,			//指标价格推送
	E_FID_QB_GMKT_INDEX_PRICE_PUSH_V2	= 53313,			//指标价格推送，原为53311
	//E_FID_QB_GMKT_INDEX_PRICE_PUSH_CANCEL		= 53312,			//取消推送
	E_FID_QB_GMKT_INDEX_PRICE_PUSH_CANCEL_V2 = 53314,			//取消推送，原53312
		E_FID_QB_GMKT_ACTIVEBOND_REQ = 53315,						//请求指数对应活跃券

	//=========================================****QB 报价模块 54000---54499***======================================================

	E_FID_QB_BOND_BC_INFO						= 54000,			// QB 查询报价方的机构信息
	E_FID_QB_BOND_QUOTE							= 54001,			// QB 报价
	E_FID_QB_BOND_PUBLISH_STATUS_CHG			= 54002,			// QB 报价状态改变，发布中和冻结的切换
	E_FID_QB_BOND_SET_TOP						= 54003,			// QB 设置券的置顶
	E_FID_QB_BOND_NOTICE_PUBLISH				= 54004,			// QB 发布公告
	E_FID_QB_BOND_NOTICE_MODIFY					= 54005,			// QB 修改公告
	E_FID_QB_BOND_NOTICE_DEL					= 54006,			// QB 删除公告
	E_FID_QB_BOND_NOTICE_QUERY					= 54007,			// QB 查询公告
	E_FID_QB_BOND_QUOTE_QUERY_QB				= 54008,			// QB 查询报价
	E_FID_QB_BOND_QUOTE_QUERY_BC				= 54009,			// BC 查询报价
	E_FID_QB_BOND_QUOTE_PUSH_TO_QB				= 54010,			// QB 报价推送，推送给QB展示页面
	E_FID_QB_BOND_QUOTE_PUSH_TO_BC				= 54011,			// QB 报价推送，推送给BC报价页面
	E_FID_QB_BOND_QUOTE_PUSH_TO_QB_CANCEL		= 54012,			// QB 报价推送，推送给QB展示页面,注册取消
	E_FID_QB_BOND_QUOTE_PUSH_TO_BC_CANCEL		= 54013,			// QB 报价推送，推送给BC报价页面,注册取消

	E_FID_QB_BOND_TOP_QUERY						= 54014,			// QB 查询置顶的券
	E_FID_QB_BOND_QUOTE_COMM_PUSH				= 54015,			// QB Leaf 通用推送注册，公告、置顶变化、冻结变化等
	E_FID_QB_BOND_QUOTE_COMM_PUSH_CANCEL		= 54016,			// QB Leaf 通用推送注册取消，公告、置顶变化、冻结变化等
	E_FID_QB_BOND_PUBLISH_STATUS_REQ			= 54017,			// QB 查询发布中还是冻结状态
	E_FID_QB_BOND_QUOTE_AUTHORITY_REQ			= 54018,			// QB 报价权限查询，Tong

	E_FID_QB_BOND_SET_TOP_PUSH					= 54023,			// QB 设置券的置顶,推送
	E_FID_QB_BOND_NOTICE_PUBLISH_PUSH			= 54024,			// QB 发布公告,推送
	E_FID_QB_BOND_NOTICE_MODIFY_PUSH			= 54025,			// QB 修改公告,推送
	E_FID_QB_BOND_NOTICE_DEL_PUSH				= 54026,			// QB 删除公告,推送
	E_FID_QB_BOND_PUBLISH_STATUS_CHG_PUSH		= 54027,			// QB 报价状态改变,推送

    //报价管理-债券报价(54200-54299)
    E_FID_QUOTMNG_BOND_CREATE_QUOT				= 54200,            //报价管理--债券报价--新建报价
    E_FID_QUOTMNG_BOND_UPDATE_QUOT       		= 54201,            //报价管理--债券报价--修改报价
    E_FID_QUOTMNG_BOND_OPERATE					= 54202,            //报价管理--债券报价--发送/撤销/删除报价
    E_FID_QUOTMNG_BOND_QUERYSEND				= 54203,            //报价管理--债券报价--分页查询发送的报价(根据报价来源查询)
    E_FID_QUOTMNG_BOND_QUERYRECV				= 54204,            //报价管理--债券报价--分页查询接收的报价(根据报价目标查询)
    E_FID_QUOTMNG_BOND_RECV_PUSH				= 54206,            //报价管理--债券报价--债券报价自动推送
	E_FID_QBA_BROKER_KLINE_DAY_CLOSE_REQ		= 54220,            //报价管理--日线bid收盘收益率，ofr收盘收益率，bid收盘净价，ofr收盘净价

	
	//=========================================****IAS相关 54500---54599***======================================================
	//E_FID_IAS_INVESTABLE_REQ					= 54500,			//IAS所在库查询
	//E_FID_IAS_INVESTABLE_PUSH					= 54501,			//IAS所在库推送
	E_FID_IAS_SENDTO_REQ						= 54502,			//菜单发送至IAS查询
	//E_FID_IAS_COMPANY_DEPT_REQ				= 54503,			//请求用户所在机构部门

	//=========================================****QB 宏源一级分销 55000---55999***======================================================
	//2016/08/09 by devin.zhang:建议一级消息都以：E_FID_PRI_ 开头

	E_FID_HY_BOND_QUOTE_ANNOUNCED           	= 55000,            // 报价、修改（已公告）					--报价与修改共用此消息号
	//E_FID_HY_BOND_QUOTE_UNANNOUNCED         	= 55001,            // 报价、修改（未公告）					--报价与修改共用此消息号
	//E_FID_HY_BOND_QUOTEINFO_ANNOUNCED			= 55002,            // 债券详情（已公告）					--查询债券报价详情
	//E_FID_HY_BOND_QUOTEINFO_UNANNOUNCED     	= 55003,            // 债券详情（未公告）					--查询债券报价详情

	E_FID_HY_BOND_COMPILEINFO_ANNOUNCED			= 55006,            // 宏源 编辑详情推送 

	//55009的返回中会带有交易员信息和交易员状态，这部分信息来源是QB后台的缓存。如果没有相关信息，后台会向QB端查询并通过55068推送。
	E_FID_HY_BOND_QUERY_ALL_TRADERS            		= 55009,            // 报价（QB使用）						--查询当前券商的所有交易员，用于在报价时进行选择。QB端报价使用，承分销端不需要

	//2015/09/23 by devin.zhang:由一级移植过来
	CMD_HY_BOND_QUOTE_CONFIRM						= 55011,			//一级卖方通过QB确认一笔申购

	//E_FID_HY_BOND_DISTRIBUTE_LIST_REQUEST   		= 55014,            // 分配									--请求分配列表（发送主键，获取列表与默认值）
	E_FID_HY_BOND_QUOTATION							= 55020,            // 宏源 首次登陆或者断线重连后从服务器把所有的行情数据拉取一次 xingguo

	//E_FID_HY_BOND_NOTICE_PUBLISH					= 55021,			// 发布公告
	//E_FID_HY_BOND_NOTICE_MODIFY					= 55022,			// 修改公告
	//E_FID_HY_BOND_NOTICE_DEL						= 55023,			// 删除公告
	E_FID_HY_BOND_NOTICE_QUERY						= 55024,			// 查询公告
	E_FID_HY_BOND_NOTICE_PUBLISH_PUSH				= 55025,			// 推送，公告							--发布公告
	E_FID_HY_BOND_NOTICE_MODIFY_PUSH				= 55026,			// 推送，公告							--修改公告
	E_FID_HY_BOND_NOTICE_DEL_PUSH					= 55027,			// 推送，公告							--删除公告

	E_FID_HY_BOND_QUOTEINFO_ANNOUNCED_UPDATE		= 55031,            // 推送，报价详情自动更新（已公告）		--内存中不存储此数据，供注册此消息号的窗体使用
	//E_FID_HY_BOND_QUOTEINFO_UNANNOUNCED_UPDATE	= 55032,            // 推送，报价详情自动更新（未公告）		--内存中不存储此数据，供注册此消息号的窗体使用
	E_FID_HY_BOND_DISTRIBUTE_LIST_SUBMIT			= 55033,			// 推送、分配							--发送分配结果，包括承/分销商信息，价位，倍数及分配列表（返回空消息）；接收的推送消息，实时更新债券的分配信息（包括承销团信息、中标价格、边际倍数。目前主要使用中标价格进行显示）

	//E_FID_HY_CONTACT_INFO_REQUEST					= 55039,			// 前台联系方式							--打开页面时请求现有联系方式
	E_FID_HY_CONTACT_INFO_SUBMIT					= 55040,			// 前台联系方式							--发送联系方式
	E_FID_HY_CONTACT_INFO_QBREQ						= 55043,			// QB端显示交易员列表，推送
	E_FID_HY_BOND_BATCH_QUOTE_ANNOUNCED				= 55044,			// 报价窗体								--对单一债券的批量报价

	//推送筛选相关
	//E_FID_HY_BOND_CLIENT_LIST						= 55050,			// 主界面-已公告，未公告				--客户端登陆时获取全量机构信息(宏源端使用，QB不需要)
	E_FID_HY_BOND_PUSH_INFO_LIST					= 55051,			// 主界面-已公告，未公告				--获取全量债券推送设定列表
	//E_FID_HY_BOND_PUSH_INFO_MODIFIED				= 55052,			// 主界面-已公告，未公告				--债券推送设定变更(宏源端使用，QB不需要)
	E_FID_HY_BOND_PUSH_INFO_AUTO					= 55053,			// 主界面-已公告，未公告，推送			--债券推送设定实时更新

	//标位设置相关
	//E_FID_HY_BOND_AUCTION_INFO_LIST				= 55060,			// 编辑-已公告							--获取全量债券标位设置列表
	//E_FID_HY_BOND_AUCTION_INFO_MODIFIED			= 55061,			// 编辑-已公告							--债券标位设置变更
	//E_FID_HY_BOND_AUCTION_INFO_AUTO				= 55062,			// 编辑-已公告，推送					--债券标位设置实时更新
	//E_FID_HY_BOND_AUCTION_INFO_DEFAULT			= 55063,			// 编辑-已公告							--获取债券默认标位设置
	
	//E_FID_HY_DEALER_QM_STATUS_FULL				= 55067,			// 缓存数据								--获取全量交易员的QM在线状态
	E_FID_HY_DEALER_QM_STATUS						= 55068,			// 缓存数据								--实时更新交易员的QM在线状态
	E_FID_NCD_BOND_QUERY_ALL_TRADERS				= 55069,            // 报价（QB使用）	-----NCD应用-----	--查询当前券商的所有交易员，用于在报价时进行选择。QB端报价使用，承分销端不需要
	E_FID_HY_UNDERWRITER_SUBSCRIBE					= 55090,			// 一级分销商是否已经订阅QM公众号
	E_FID_HY_UNDERWRITER_SUBSCRIBE_PUSH				= 55091,			// 注册QM推送公众号状态到QB
	E_FID_HY_UNDERWRITER_SUBSCRIBE_PUSH_UNREG		= 55092,			// 取消注册55092

	E_FID_PRI_QUTOE_TIPS_FANOUT						= 55093,				//一级分享报价状态变化提醒，推送
	E_FID_PRI_QUOTE_TIPS_FANOUT_UNREG				= 55094,				//一级分享报价状态变化提醒，推送-取消注册

	//债券推荐状态
	E_FID_HY_BOND_UNUSED_4							= 55100,			// 未使用
	E_FID_HY_BOND_RECOMMENDED_SET					= 55101,			// 主界面								--推荐与取消推荐债券，每次一支。返回成功或者失败，成功的同时更新行情。
	//债券推荐状态（sumscope）
	E_FID_HY_BOND_RECOMMENDED_QUERY_SUMSCOPE		= 55110,			// 主界面								--查询Sumscope推荐债券列表（QB使用，承分销端不使用，视需求变更）
	E_FID_HY_BOND_RECOMMENDED_AUTO_SUMSCOPE			= 55111,			// 主界面，推送							--广播更新Sumscope推荐债券列表（QB使用，承分销端不使用，视需求变更）

	E_FID_HY_BOND_QUOTATION_HIS_REQ					= 55120,			// 历史行情查询，add by lance 2016.3.2
	
	E_FID_HY_BOND_MYPURCHASE_REQ					= 55200,			// 宏源、我的申购请求
	//E_FID_HY_BOND_MYPURPOSE_REQ					= 55201,			// 宏源、我的意向请求
	//E_FID_HY_BOND_BID_REQ							= 55202,			// 宏源、我的中标记录

	E_FID_HY_BOND_PURCHASE_MSG_REQ					= 55203,			//我的申购-申购消息请求
	E_FID_HY_BOND_PURCHASE_MSG_PUSH					= 55204,			//我的申购-申购消息推送，4.7.1版本后废弃，modify by lance 2020.5.21

	E_FID_PRI_MYPURCHASE_NOTE_ADD					= 55206,			//我的申购-对申购过的券添加备注
	E_FID_PRI_MYPURCHASE_NOTE_DELETE				= 55207,			//我的申购-对申购过的删除备注

	E_FID_HY_BOND_QUOTATION_V2						= 55210,            // 原55020, 请求一级行情
	E_FID_HY_BOND_PUSH_INFO_LIST_V2					= 55211,			// 原55051, 获取全量债券推送设定列表
	E_FID_HY_BOND_QUERY_ALL_TRADERS_V2				= 55212,			// 原55009, 查询当前券商的所有交易员，用于在报价时进行选择。QB端报价使用，承分销端不需要
	E_FID_HY_CONTACT_INFO_QBREQ_V2					= 55213,			// 原55043,	QB端显示交易员列表，推送
	E_FID_HY_BOND_MYPURCHASE_REQ_V2					= 55214,			// 原55200, 我的申购请求
	E_FID_PRI_MYPURCHASE_NOTE_QUERY_V2				= 55215,			// 原55205,	我的申购-对申购过的券进行备注，查询

	E_FID_HY_BOND_AUTO_PUSH							= 55250,			// 宏源推送注册
	E_FID_HY_BOND_AUTO_PUSH_CANCEL					= 55251,			// 宏源推送注册取消

	E_FID_PRI_DETAIL_RANG_QUERY						= 55252,			//个券详情、一级页面、申购区间请求
	E_FID_PRI_DETAIL_RANG_PUSH						= 55253,			//个券详情、一级页面、申购区间推送

	E_FID_IDB_QUERY_BOND_INTERVAL_INFO				= 55300,            //查询指定债券的区间信息

	//债券主承公告，这是一级的广播信息，qb端也接收此信息即可。取代E_FID_BONDINFO_MAINUNDERWRITER_NOTICE_FANOUT	= 55951
	E_FID_UPPC_MAIN_UNDERWRITER_NOTICE_FANOUT		= 55408,			// 综合平台										--主承公告实时更新
	
	//2016/11/29 by devin.zhang: 标书相关功能号;
	//2016/11/30 by devin.zhang: 注释掉的部分为：只有PC端会用到，QB本身不会用到；
	E_FID_UPPC_BID_DOCUMENT_GET						= 55420,            // 综合平台              --获取标书，包括市场标书和自定义标书
	//-E_FID_UPPC_BID_DOCUMENT_CUSTOM_SET			= 55421,            // 综合平台              --重设标书，仅发送上下限和步长；自动切换到自定义标书
	//-E_FID_UPPC_BID_DOCUMENT_CUSTOM_MODIFIED		= 55422,            // 综合平台              --修改标书，增量；自动切换到自定义标书
	//-E_FID_UPPC_BID_DOCUMENT_CUSTOM_DELETE		= 55423,            // 综合平台              --删除标书；自动切换到空标书
	//-E_FID_UPPC_BID_DOCUMENT_SWITCH				= 55424,            // 综合平台              --切换到市场标书或自定义标书
	E_FID_UPPC_BID_DOCUMENT_MARKET_FANOUT_FULL		= 55425,            // 综合平台，自动更新  --市场标书自动更新（包括删除），始终全量更新
	E_FID_UPPC_BID_DOCUMENT_CUSTOM_FANOUT_FULL		= 55426,            // 综合平台，自动更新  --自定义标书全量自动更新（包括删除），始终全量更新。仅在和后触发。
	E_FID_UPPC_BID_DOCUMENT_CUSTOM_FANOUT_INCRE		= 55427,            // 综合平台，自动更新  --自定义标书增量自动更新。仅在后触发。
	//-E_SERVER_USED_3								= 55428,            // 后台占用              --后台用于标书发生修改时通知相关服务撤销报价
	//-E_FID_UPPC_BID_DOCUMENT_STATUS_GET			= 55429,            // 综合平台              --启动时请求全量标书设置（不包含标书内容，仅请求标志位）
	E_FID_UPPC_BID_DOCUMENT_STATUS_FANOUT			= 55430,            // 综合平台              --标书设置更新
	//-E_FID_UPPC_BID_DOCUMENT_CUSTOM_FULL_SET		= 55431,            // 综合平台              --客户端全量更新自定义标书

	E_FID_HY_DEALER_PURCHASE_REQ					= 55900,			// 请求一级卖方所有可确认申购
	E_FID_HY_DEALER_PURCHASE_PUSH					= 55901,			// 注册推送一级卖方所有可确认申购
	E_FID_HY_DEALER_PURCHASE_PUSH_UNREG				= 55902,			// 取消推送一级卖方所有可确认申购
	E_FID_HY_DEALER_PURCHASE_DEAL_REG				= 55903,			// 一级卖方通过QB确认一笔申购

	E_FID_HY_PRIMARYMARKET_REMIND_REQ				= 55905,			//一级市场提醒设置请求
	E_FID_HY_QUOTE_REMIND_INTERVAL_PUSH				= 55906,			//一级市场区间变动提醒推送
	E_FID_HY_QUOTE_REMIND_CONFIRM_PUSH				= 55907,			//一级市场投标确认提醒推送
	E_FID_HY_QUOTE_REMIND_OUTCOMME_PUSH				= 55908,			//一级市场分配提醒推送
	E_FID_HY_QUOTE_REMIND_DELAYPUBLICATION_PUSH		= 55909,			//一级市场推迟发行提醒推送
	E_FID_HY_QUOTE_REMIND_MARGINALGUIDANCE_PUSH		= 55910,			//一级市场边际指导提醒推送
	
	//=========================================****QB 报价共享***======================================================
	E_FID_QB_QUOTESHARE_FRIEND_CONTACT_REQ			= 55920,			//请求共享报价的好友账号
	E_FID_QB_QUOTESHARE_FRIEND_CONTACT_SET			= 55921,			//设置共享报价的好友账号
	E_FID_QB_QUOTESHARE_UUIDLIST_REQ				= 55922,			//请求共享报价数据 UUID	,共享与被共享
	E_FID_QB_QUOTESHARE_UUIDLIST_PUSH				= 55923,			//推送被共享报价数据 UUID
	E_FID_QB_QUOTESHARE_QUOTEDATA_REQ				= 55924,			//请求被共享报价数据	
	E_FID_QB_QUOTESHARE_LAUNCH_REQ					= 55925,			//发起报价共享
	
	E_FID_HY_QUOTE_HOTSALE_BOND_REQ					= 55940,			//一级市场:热卖券请求
	E_FID_HY_QUOTE_HOTSALE_BOND_PUSH				= 55941,			//一级市场:热卖券推送
	//=========================================****债券信息-主承公告***======================================================
	E_FID_BONDINFO_MAINUNDERWRITER_NOTICE_REQ		= 55950,			//请求债券的主承公告。
	E_FID_BONDINFO_MAINUNDERWRITER_NOTICE_FANOUT	= 55951,			//主承公告的实时更新。
	
	//=========================================****QB 场外期权, OTC Options, 56000---56999***======================================================
	E_FID_OTC_OPTIONS_MM_OPTIONS_INFO_FULL			= 56000,			//做市商界面							--启动时取得全量期权信息
	E_FID_OTC_OPTIONS_MM_OPTIONS_DELETE				= 56001,			//做市商界面							--删除期权信息
	E_FID_OTC_OPTIONS_MM_OPTIONS_RENEW				= 56002,			//做市商界面							--更新期权信息，包括增加和修改、无风险利率和挂档方式的变更
	E_FID_OTC_OPTIONS_MM_OPTIONS_PUSH				= 56003,			//做市商界面							--推送，由于记录条数与消息长度限制，一次推送一条。UI层的批量推送也是一支一支发送。
	E_FID_OTC_OPTIONS_MM_OPTIONS_PUSH_CANCEL		= 56004,			//做市商界面							--取消推送
	E_FID_OTC_OPTIONS_MM_SETTING					= 56005,			//做市商界面							--针对单个期货品种下的所有期权的设定
	E_FID_OTC_OPTIONS_MM_DAYCOUNT_SETTING_FULL		= 56006,			//做市商界面							--请求天数设置的全量信息
	E_FID_OTC_OPTIONS_MM_DAYCOUNT_SETTING_RENEW		= 56007,			//做市商界面							--向服务器发送天数设置
	E_FID_OTC_OPTIONS_MM_DAYCOUNT_SETTING_AUTO		= 56008,			//做市商界面，实时更新消息				--服务器推送天数设置
	E_FID_OTC_OPTIONS_MM_OPTIONS_PUSH_BATCH			= 56009,			//做市商界面							--推送，56003的批量处理(金磊)

	E_FID_OTC_OPTIONS_MM_INFO_AUTO					= 56030,			//做市商界面，实时更新消息				--期权数据变化，包括数据变化、推送状态变化

	E_FID_OTC_OPTIONS_MM_HISTORY					= 56050,			//做市商界面							--历史查询

	E_FID_OTC_OPTIONS_C_OPTIONS_INFO_FULL			= 56100,			//客户界面								--启动时取得全量已推送的期权信息
	//E_FID_OTC_OPTIONS_C_OPTIONS_SETTING_FULL		= 56101,			//客户界面								--启动时取得全量的期权设定
	E_FID_OTC_OPTIONS_C_MMINFO						= 56102,			//客户界面								--启动时取得做市商的简介、联系方式、二维码等信息
	E_FID_OTC_OPTIONS_C_FAVORITE					= 56103,			//客户界面								--启动时取得及设定当前用户关注的期货品种列表
	E_FID_OTC_OPTIONS_C_QUERY_TRADER_QM_INFO		= 56104,			//客户界面								--查询交易员的QMID及状态，后续此交易员状态会维护在内存中，通过55068自动更新

	E_FID_OTC_OPTIONS_C_OPTIONS_PUSH_AUTO			= 56130,			//客户界面，实时更新消息				--期权推送实时更新
	E_FID_OTC_OPTIONS_C_OPTIONS_PUSH_CANCEL_AUTO	= 56131,			//客户界面，实时更新消息				--期权取消推送实时更新

	E_FID_OTC_OPTIONS_CLEAR							= 56200,			//做市商界面，客户界面，实时更新消息	--市场信息清空
	E_FID_OTC_OPTIONS_OPTION_SETTING_AUTO			= 56201,			//做市商界面，客户界面，实时更新消息	--期权设定实时更新
	E_FID_OTC_OPTIONS_OPTION_DELETE_AUTO			= 56202,			//做市商界面，客户界面，实时更新消息	--期权信息删除，由56001触发

	E_FID_OTC_OPTIONS_SETTING_FULL					= 56300,			//做市商界面，客户界面					--启动时取得全量期权设定
 
	E_FID_OTC_OPTIONS_CALCULATE_PRICE				= 56400,			//做市商界面，客户界面，计算			--计算期权的报价信息
	E_FID_OTC_OPTIONS_CALCULATE_PRICE_NEW			= 56401,			//做市商界面，客户界面，计算			--计算期权的报价信息，新

	E_FID_OTC_OPTIONS_REGISTER						= 56500,			//场外期权向网关注册实时更新消息
	E_FID_OTC_OPTIONS_UNREGISTER					= 56501,			//场外期权向网关取消注册实时更新消息

	E_FID_OTC_OPTIONS_START_CLIENT					= 56550,			//场外期权后台打开前台页面				--由后台窗体向主窗体发送，不是网络传输用的消息
	
	//=========================================****Global Function***============================================
// 	E_FID_GLOBAL_FUNCTION_SENSE_PROCESS_REGISTER	= 56800,			//注册侦测进程名称
// 	E_FID_GLOBAL_FUNCTION_SENSE_PROCESS_UNREGISTER	= 56801,			//取消注册侦测进程名称
	E_FID_GLOBAL_FUNCTION_PROCESS_INFO_FULL			= 56802,			//全量侦测的进程名称
	E_FID_GLOBAL_FUNCTION_SENSE_PROCESS_LIST		= 56803,			//上报侦测的进程列表
	E_FID_GLOBAL_FUNCTION_SENSE_PROCESS_PUSH		= 56804,			//服务器推送侦测的进程名称列表

	E_FID_GLOBAL_FUNCTION_REPORT_PAGE_OPERATION		= 56808,			//向服务器上报页面操作 （打开关闭）, 不需要回复
	E_FID_GLOBAL_FUNCTION_REPORT_PAGE_STATE			= 56809,			//向服务器上报打开页面，用于断线重连, 不需要回复
	E_FID_GLOBAL_FUNCTION_REPORT_PAGE_STATE_PUSH	= 56810,			//注册服务器推送清盘信号
	E_FID_GLOBAL_FUNCTION_REPORT_PAGE_STATE_PUSH_UNREGISTER	= 56811,		//取消注册服务器推送清盘信号
	

	//=========================================****QB 报价管理, 57000---57999***======================================================
    E_FID_MMARKET_QUOTATION_QUERY_QUOT_STATUS       = 57060,            //Money Market报价界面					--查询MM报价状态
    E_FID_QUOTMNG_MM_CREATE_QUOT          	        = 57100,            //同业报价--MM报价优化--新建报价
    E_FID_QUOTMNG_MM_UPDATE_QUOT       	            = 57101,            //同业报价--MM报价优化--修改报价
    E_FID_QUOTMNG_MM_OPERATE                        = 57102,            //同业报价--MM报价优化--发送/撤销/删除报价
    E_FID_QUOTMNG_MM_QUERYSEND                      = 57103,            //同业报价--MM报价优化--分页查询发送的报价(根据报价来源查询)
    E_FID_QUOTMNG_MM_QUERYRECV                      = 57104,            //同业报价--MM报价优化--分页查询接收的报价(根据报价目标查询)
    E_FID_QUOTMNG_MM_PUSH                           = 57105,            //同业报价--MM报价优化--MM报价推送

    E_FID_QUERY_MMREMINDER                          = 57160,            //获取用户保存的货币市场提醒条件
    E_FID_MMREMINDER_ADD                            = 57161,            //同业报价提醒--增加
    E_FID_MMREMINDER_DEL                            = 57162,            //同业报价提醒--删除
    E_FID_MMREMINDER_UPDATE                         = 57163,            //同业报价提醒--更新
    E_FID_MMREMINDER_PUSH                           = 57165,            //同业报价提醒--推送

	//2018/04/20 by devin.zhang: 57200已被后台占用
	E_FID_TOP_QUOTE_CREATOR_GET						= 57201,			//置顶报价全量请求

    E_FID_MMARKET_QUOTATION_QUERY_ASSET             = 57310,            //Money Market报价界面					--查询资产类型
    E_FID_MMARKET_QUOTATION_QUERY_TAG               = 57311,            //Money Market报价界面					--查询指定资产的标签
    E_FID_MMARKET_QUOTATION_QUERY_USR_ASSETTAG      = 57312,            //Money Market报价界面					--查询用户保存的资产标签
    E_FID_MMARKET_QUOTATION_SAVE_USR_ASSETTAG       = 57313,            //Money Market报价界面					--保存用户设置的资产标签
    E_FID_MMARKET_QUOTATION_QUERY_USR_FILTERTAG     = 57314,            //Money Market报价界面					--查询用户保存的筛选标签
    E_FID_MMARKET_QUOTATION_SAVE_USR_FILTERTAG      = 57315,            //Money Market报价界面					--保存用户设置的筛选标签
    E_FID_MMARKET_QUOTATION_QUERY_USR_PROVINCE      = 57316,            //Money Market报价界面					--查询用户保存的省份筛选
    E_FID_MMARKET_QUOTATION_SAVE_USR_PROVINCE       = 57317,            //Money Market报价界面					--保存用户设置的省份标签

    E_FID_MMARKET_QUOTATION_QUERY_ASSET_TYPE        = 57320,            //Money Market报价界面					--查询指定资产的报价类型

    E_FID_QUOTMNG_QUERY_RES                         = 57330,            //同业报价                              --根据分类获取资源信息
    
    E_FID_QUOTMNG_QUERY_USRPROV                     = 57341,            //查询用户所在省份信息
    E_FID_QUOTMNG_QUERYQMDISNAME_BYQBID             = 57342,            //根据QBUserID，获取相应的QM联系人用户名，机构信息

	E_FID_MMARKET_QUOTATION_FREEZE_AUTO             = 57420,			//Money Market报价界面--自动更新		--市场冻结信息。接收方接到此消息后，向后台提交所有当前报价的撤销处理请求。
    E_FID_MMARKET_QUOTATION_FREEZE_AUTO_UNREGISTER	= 57421,			//Money Market报价界面--注销

	E_FID_QB_ACCOUNT_UPDATEINFO_PUSH				= 57500,			//服务器推送升级权限等

	//！！！2018/12/27 by devin.zhang:此消息还有另外一作用：作为57105等消息的开关。
	//！！！即向网关注册了本消息以后才会收到57105等
    E_FID_QUOTMNG_QMID_REGISTER                     = 57607,            //报价管理--注册关注的QMID，注册后，会收到57105，54206，57606，57155，57165推送
    E_FID_QUOTMNG_QMID_UNREGISTER                   = 57608,            //报价管理--注销关注的QMID

    E_FID_QUERY_MMQUOTE_ONLINE_CLICK_REG            = 57880,            //获取当前在线人数和点击次数 (推送)
    E_FID_QUERY_MMQUOTE_ONLINE_CLICK_UNREG          = 57881,            //获取当前在线人数和点击次数 (反注册)
    E_FID_QUERY_MMQUOTE_CLICK_SET                   = 57882,            //设置点击次数
    E_FID_MMSTATUS_SET                              = 57883,            //同业报价在线状态设计

    E_FID_MMREAL_PUSH_REG                           = 57900,            //报价统计实时推送注册
    E_FID_MMREAL_PUSH_UNREG                         = 57901,            //报价统计实时推送反注册
    E_FID_MMREAL_QUERY                              = 57902,            //报价统计实时查询
    E_FID_MMHISTROY_QUERY                           = 57903,            //报价统计历史查询

	E_FID_FOCUSED_INSS_QUERY						= 57911,			//查询我关注的机构
	E_FID_FOCUSED_INSS_ADD							= 57912,			//添加我关注的机构
	E_FID_FOCUSED_INSS_DEL							= 57913,			//删除我关注的机构

	E_FID_MM_CONTACT_QUERY							= 57915,			//查询MM联系方式状态
	E_FID_MM_CONTACT_SET							= 57916,			//设置MM联系方式状态
	E_FID_MM_CONTACT_PUSH_REG						= 57917,			//MM联系方式状态推送注册 (推送)
	E_FID_MM_CONTACT_PUSH_UNREG						= 57918,			//MM联系方式状态推送反注册

	//=========================================****QB 平安证券 ***======================================================
	E_FID_PA_MARKET_INDEX_THERMOMETER_REQ			= 58001,			//平安，请求，应答，债市温度计
	E_FID_PA_MARKET_INDEX_LEADING_REQ				= 58002,			//平安，请求，应答，金融市场综合经济领先指数
	E_FID_PA_MARKET_INDEX_COMPOSITE_REQ				= 58003,			//平安，请求，应答，货币市场综合指数
	E_FID_PA_MARKET_INDEX_SUBSCRIBE_REQ				= 58004,			//平安，请求，应答，一级市场认购情绪指数

	E_FID_PA_MARKET_INDEX_THERMOMETER_PUSH			= 58005,			//平安，推送，债市温度计
	E_FID_PA_MARKET_INDEX_LEADING_PUSH				= 58006,			//平安，推送，金融市场综合经济领先指数
	E_FID_PA_MARKET_INDEX_COMPOSITE_PUSH			= 58007,			//平安，推送，货币市场综合指数
	E_FID_PA_MARKET_INDEX_SUBSCRIBE_PUSH			= 58008,			//平安，推送，一级市场认购情绪指数

	E_FID_PA_MARKET_INDEX_THERMOMETER_SUBMIT		= 58009,			//平安，提交，债市温度计
	E_FID_PA_MARKET_INDEX_LEADING_SUBMIT			= 58010,			//平安，提交，金融市场综合经济领先指数
	E_FID_PA_MARKET_INDEX_COMPOSITE_SUBMIT			= 58011,			//平安，提交，货币市场综合指数
	E_FID_PA_MARKET_INDEX_SUBSCRIBE_SUBMIT			= 58012,			//平安，提交，一级市场认购情绪指数

	E_FID_PA_MARKET_INDEX_DESCRIPTION_REQ			= 58013,			//平安，请求，应答，指标说明
	E_FID_PA_MARKET_INDEX_DESCRIPTION_PUSH			= 58014,			//平安，推送，指标说明
	E_FID_PA_MARKET_INDEX_DESCRIPTION_SUBMIT		= 58015,			//平安，提交, 指标说明


	E_FID_PA_MARKET_BOND_DESCRIPTION_REQ			= 58016,			//平安，请求，应答，债市策略
	E_FID_PA_MARKET_BOND_DESCRIPTION_PUSH			= 58017,			//平安，推送，债市策略
	E_FID_PA_MARKET_BOND_DESCRIPTION_SUBMIT			= 58018,			//平安，提交, 债市策略


	E_FID_PA_MARKET_INDEX_REGISTER					= 58020,			//平安，向网关注册实时更新信息，会向网关注册58005, 58006, 58007,58008,58014
	E_FID_PA_MARKET_INDEX_UNREGISTER				= 58021,			//平安，向网关取消注册实时更新信息

	//E_FID_QB_DATE_YIELD_CURVE_REQ					= 58023,			//平安，国债所在期限的点过去天数的数据

	E_FID_PA_MARKET_BOND_DESCRIPTION_REQ2			= 58026,			//请求，一级旗舰店债市策略，平安，民生
	E_FID_PA_MARKET_BOND_DESCRIPTION_PUSH2			= 58027,			//推送，一级旗舰店债市策略，平安，民生
	E_FID_PA_MARKET_BOND_DESCRIPTION_SUBMIT2		= 58028,			//提交, 一级旗舰店债市策略，平安，民生

	//=========================================****QB 国开行 ***======================================================
	E_FID_GKH_INDEX_GKZ_REQ							= 58029,			//国开行，请求，应答，国开指数	 --前台、后台都需要,可以【重用】平安的请求结构体：xMarketIndexReq_c 
	E_FID_GKH_INDEX_GKZ_PUSH						= 58030,			//国开行，推送，国开指数	 --仅前台推送用，无需结构体 
	E_FID_GKH_INDEX_GKZ_SUBMIT						= 58031,			//国开行，提交，国开指数	 --仅后台发布用，需自己定义结构体 

	E_FID_GKH_INDEX_DESCRIPTION_REQ					= 58032,			//国开行，请求，应答，指标说明	 --前台、后台都需要,可以【重用】平安的请求结构体：xMarketIndexDescriptionReq_c 
	E_FID_GKH_INDEX_DESCRIPTION_PUSH				= 58033,			//国开行，推送，指标说明	 --仅前台推送用，无需结构体 
	E_FID_GKH_INDEX_DESCRIPTION_SUBMIT				= 58034,			//国开行，提交, 指标说明	 --仅后台发布用，可以【重用】平安的请求结构体：xMarketIndexDescriptionReq_c 

	E_FID_GKH_INDEX_REGISTER						= 58035,			//国开行，向网关注册实时更新信息，会向网关注册58030，58033，可以【重用】平安的请求结构体：xMarketIndexBaseReq_c
	E_FID_GKH_INDEX_UNREGISTER						= 58036,			//国开行，向网关取消注册实时更新信息，可以【重用】平安的请求结构体：xMarketIndexBaseReq_c

	//=========================================****QB FX***======================================================
    //新旧版本兼容，保持旧接口
	E_FID_FX_QUERY_ALLTERM_QUOT_SNAPSHOT           	= 59000,            //根据经纪商和类型查询各期限最新快照
	E_FID_FX_QUERY_TERM_ALLQUOT           			= 59001,            //根据经纪商和类型以及期限查询该期限所有报价
	//E_FID_FX_REG_QUOT_PUSH           				= 59002,            //向网关注册FX推送内容
	E_FID_FX_QUOT_AUTO           					= 59003,            //自动推送最新报价(Swap), 同时作为向网关注册59003的请求号
	E_FID_FX_CLEAR_QUOT_AUTO           				= 59004,            //清除报价消息
    E_FID_FX_UNREG_QUOT_PUSH           				= 59005,            //向网关注销FX推送内容
    E_FID_FX_QUOT_AUTO_OPTION      					= 59006,            //自动推送最新报价(Option)
	E_FID_FX_QUOT_AUTO_OPTION_CANCEL				= 59007,			//向网关注销Option报价推送

    //=========================================****QB 59010***======================================================

	E_FID_QB_FIRST_PASSWORD_CHANGE				    = 59010,		    //QB首次登陆强制密码修改，

    //=========================================****QB FXExt***======================================================
    E_FID_FX_EXT_MATURITY_DATE_REQ      			= 59011,            //查询到期日
    E_FID_FX_EXT_USDCNH_BROKER_KLINE_DAY_REQ        = 59012,            //USDCNH broker相关产品日线查询[SWAP/OPTION(ATM/25 DRR/25 DBF/10 DRR/10 DBF)]
    E_FID_FX_EXT_KLINE_DAY_REQ                      = 59013,            //日线[NDS/NDF/FORWARD] 服务端需要计算USDCNY 的FORWARD日线，同时需要计算USDCNH的FORWARD 和 NDS日线
    E_FID_FX_EXT_AUTO_PUSH                          = 59014,            //报价推送[TPI_SWAP/TPI_NDF]
    E_FID_FX_EXT_SNAPSHOT_REQ                       = 59015,            //查询打开页面快照[TPI_SWAP/TPI_NDF]
    E_FID_FX_EXT_TERM_REAL_HIS_REQ                  = 59016,            //查询实时历史走势[TPI_SWAP/TPI_NDF]
    E_FID_FX_EXT_SPOT_KLINE_DAY_REQ                 = 59017,            //日线[SPOT] 
    E_FID_FX_EXT_SPOT_AUTO_PUSH                     = 59018,            //报价推送[SPOT]
    E_FID_FX_EXT_SPOT_SNAPSHOT_REQ                  = 59019,            //查询打开页面快照[SPOT]
    E_FID_FX_EXT_SPOT_TERM_REAL_HIS_REQ             = 59020,            //查询实时历史走势[SPOT]
    E_FID_FX_EXT_AUTO_PUSH_CANCEL                   = 59021,            //取消报价推送[TPI_SWAP/TPI_NDF]，对应59014
    E_FID_FX_EXT_SPOT_AUTO_PUSH_CANCEL              = 59022,            //取消报价推送[SPOT]，对应59018
    E_FID_FX_EXT_FORWARD_NDS_KLINE_DAY_REQ          = 59023,            //远期日线[FORWARD] 

	E_FID_FX_SNAPSHOT_REQ							= 59024,			//FX快照查询
	E_FID_FX_QUOTE_HISTORY_REQ						= 59025,			//FX报价历史查询
	E_FID_FX_QUOTE_SWAP_PUSH						= 59026,			//FX SWAP推送，注册推送
	E_FID_FX_QUOTE_SWAP_PUSH_CANCEL					= 59027,			//FX SWAP取消注册推送
	E_FID_FX_QUOTE_OPTION_PUSH						= 59028,			//FX OPTION 推送，注册推送
	E_FID_FX_QUOTE_OPTION_PUSH_CANCEL				= 59029,			//FX OPTION 取消推送

	//=========================================****ABS 计算器****======================================================
	E_FID_QB_ABS_CNABS_BASE_INFO_REQ				= 59100,			//ABS_CNABS计算器请求定价状态和四率,服务端违约回收延迟按照月给到客户端
	E_FID_QB_ABS_CNABS_CAL_REQ						= 59101,			//ABS_CNABS计算器调用
	E_FID_QB_ABS_SCHEME_REQ							= 59102,			//ABS自定义四率方案查询
	E_FID_QB_ABS_SCHEME_MDF							= 59103,			//ABS自定义四率方案修改
	E_FID_QB_ABS_MOODY_BASE_INFO_REQ				= 59104,			//ABS_MOODY计算器请求定价状态和四率,服务端违约回收延迟按照月给到客户端
	E_FID_QB_ABS_MOODY_CAL_REQ						= 59105,			//ABS_MOODY计算器调用


	//=========================================****个券信用利差****======================================================
	E_FID_QB_BOND_CREDIT_SPREAD_REQ					= 59106,			//个券信用利差
	E_FID_QB_ISSUER_CREDIT_SPREAD_REQ				= 59107,			//主体信用利差
	
	E_FID_QB_ABS_CHINA_RATING_BASE_INFO_REQ			= 59108,			//ABS_中债资信计算器请求定价状态,服务端违约回收延迟按照月给到客户端，结果无需填写参考值
	E_FID_QB_ABS_CHINA_RATING_CAL_REQ				= 59109,            //ABS_中债资信计算器应答
	E_FID_QB_ABS_BOND_REFERENCE_INFO_REQ			= 59110,			//获取某只券对应的系列参考值
	E_FID_QB_ABS_REF_SCHEME_REQ						= 59111,			//ABS系列参考值方案查询
	E_FID_QB_ABS_REF_SCHEME_MDF						= 59112,			//ABS系列参考值方案修改
	E_FID_QB_ABS_MOODY_NEW_CAL_REQ					= 59113,			//moody计算器应答，新版带有参考现金流
	E_FID_QB_ABS_CNABS_NEW_CAL_REQ					= 59114,			//CNABS计算器应答，结果无需填写参考值
	E_FID_QB_ABS_BOND_ACTUAL_INFO_REQ				= 59115,			//获取某只券的实际系列参考值

	//=========================================***实时利差***=========================================================

	E_FID_QB_RT_SPREAD_TAB_SEL_ADMIN_REQ			= 59116,			//查询管理员默认设置的TAB选项
	E_FID_QB_RT_SPREAD_TAB_SEL_ADMIN_MDY			= 59117,			//管理员修改默认设置的TAB选项	
	E_FID_QB_RT_SPREAD_SCHEME_ADMIN_REQ				= 59118,			//查询管理员默认设置的方案选项
	E_FID_QB_RT_SPREAD_SCHEME_ADMIN_MDY				= 59119,			//管理员修改默认设置的方案选项

	E_FID_QB_RT_SPREAD_TAB_SEL_USER_REQ				= 59120,			//查询用户设置的TAB选项
	E_FID_QB_RT_SPREAD_TAB_SEL_USER_MDY				= 59121,			//用户修改设置的TAB选项
	E_FID_QB_RT_SPREAD_SCHEME_USER_REQ				= 59122,			//查询用户设置的方案选项
	E_FID_QB_RT_SPREAD_SCHEME_USER_MDY				= 59123,			//修改用户设置的方案选项

	E_FID_QB_RT_SPREAD_HIS_STATISTIC_REQ			= 59124,			//实时利差列表统计概览
	E_FID_QB_RT_SPREAD_SINGLE_HIS_STREAM_REQ		= 59125,			//实时利差单列表日线请求

    E_FID_QB_RT_SPREAD_TAB_SEL_ADMIN_REQ_V2			= 59126,			//查询管理员默认设置的TAB选项V2
    E_FID_QB_RT_SPREAD_TAB_SEL_ADMIN_MDY_V2			= 59127,			//管理员修改默认设置的TAB选项V2	
    E_FID_QB_RT_SPREAD_TAB_SEL_USER_REQ_V2			= 59128,			//查询用户设置的TAB选项V2
    E_FID_QB_RT_SPREAD_TAB_SEL_USER_MDY_V2			= 59129,			//用户修改设置的TAB选项V2
	
//=========================================****QB Mobile****======================================================
	//59800-59999
	//已使用59800,59801

	//=========================================****DataFeed 保留****==================================================
	//60000-60500

	//=========================================****QB EXCEL, 61000 - 61500***======================================================
	//QB与EXCEL通讯的消息号
	E_FID_EXCEL_QB_STATE_REQ						= 61000,			//请求QB的登录状态
	E_FID_EXCEL_QB_BROKER_REQ						= 61001,			//请求券商权限
	E_FID_EXCEL_BOND_LIST_REQ						= 61002,			//全量债券列表
	E_FID_EXCEL_BOND_INFO_REQ						= 61003,			//债券详情
	E_FID_EXCEL_BOND_UPDATE_PUSH					= 61004,			//债券列表更新通知 WM_APP_STKRECEIVER_INFO中eFT_PL_FILE_UPDATE
	E_FID_EXCEL_IAS_AUTH_REQ						= 61005,			//请求IAS账号权限 0：表示没有权限， 1：表示有权限
	E_FID_EXCEL_MM_AUTH_REQ							= 61006,			//请求mm报价权限 0：表示没有权限， 1：表示有权限
    E_FID_EXCEL_BOND_LIST_COMPRESS_REQ              = 61007,            //请求全量债券详情（压缩）

	E_FID_EXCEL_BBO_REG_REQ							= 61010,			//注册最优报价BBO行情
	E_FID_EXCEL_BBO_UNREG_REQ						= 61011,			//取消注册最优报价BBO行情
	E_FID_EXCEL_BBO_PUSH							= 61012,			//推送最优报价BBO行情
	E_FID_EXCEL_BBO_HISTORY_REQ						= 61013,			//请求BBO历史数据

	E_FID_EXCEL_BOND_MARKET_SNAPSHOT_REG_REQ		= 61020,			//注册债券市场动向
	E_FID_EXCEL_BOND_MARKET_SNAPSHOT_UNREG_REQ		= 61021,			//取消注册债券市场动向
	E_FID_EXCEL_BOND_MARKET_SNAPSHOT_PUSH			= 61022,			//债券市场动向推送

	E_FID_EXCEL_DEAL_REG_REQ						= 61030,			//注册成交行情
	E_FID_EXCEL_DEAL_UNREG_REQ						= 61031,			//取消注册成交行情
	E_FID_EXCEL_DEAL_PUSH							= 61032,			//推送成交行情
	E_FID_EXCEL_DEAL_HISTORY_REQ					= 61033,			//请求成交历史数据
	E_FID_EXCEL_LAST_DEAL_REG_REQ					= 61034,			//注册请求最后一笔成交行情


	E_FID_EXCEL_IAS_ACCOUNT_REQ						= 61038,			//请求IAS账号列表
	E_FID_EXCEL_IAS_POSITION_REG_REQ				= 61039,			//注册IAS持仓信息
	E_FID_EXCEL_IAS_POSITION_UNREG_REQ				= 61040,			//取消注册IAS持仓信息
	E_FID_EXCEL_IAS_POSITION_PUSH					= 61041,			//推送IAS持仓信息

	E_FID_EXCEL_MM_REG_REQ							= 61045,			//获取MM报价并注册
	E_FID_EXCEL_MM_UNREG_REQ						= 61046,			//取消注册
	E_FID_EXCEL_MM_PUSH								= 61047,			//推送MM报价

	E_FID_ORIGINAL_QUOTE_REQ						= 61050,			//请求基本报价
	E_FID_ORIGINAL_QUOTE_PUSH						= 61051,			//注册基本报价推送
	E_FID_ORIGINAL_QUOTE_CANCEL_REQ					= 61052,			//取消基本报价
	E_FID_ORIGINAL_QUOTE_HISTORY_REQ				= 61053,			//请求基本报价历史
	E_FID_BBO_HISTORY_REQ							= 61054,			//请求最优报价历史
	E_FID_DEAL_HISTORY_REQ							= 61055,			//请求成交历史
	E_FID_ORIGINAL_QUOTE_PUSH_UNREG					= 61056,			//取消推送


	E_FID_EXCEL_ALL_TF_REQ							= 61058,			//获取国债期货全部信息
	E_FID_EXCEL_TF_DELIVER_BOND_REQ					= 61059,			//获取一个合约号下所有的可交割券
	E_FID_EXCEL_TF_FUND_COST_REQ					= 61060,			//获取资金成本
	E_FID_EXCEL_TF_DEAL_REQ							= 61061,			//请求国债期货的成交信息
	E_FID_TF_BASIS_SPREAD_HISTORY_REQ				= 61062,			//国债期货基差历史
	E_FID_EXCEL_TF_FUND_COST_HISTORY_REQ			= 61063,			//获取历史资金成本

	E_FID_EXCEL_TF_BASIS_SPREAD_REG_REQ				= 61064,			//国债期货基差请求注册
	E_FID_EXCEL_TF_BASIS_SPREAD_UNREG_REQ			= 61065,			//国债期货基差取消注册
	E_FID_EXCEL_TF_BASIS_SPREAD_PUSH				= 61066,			//国债期货基差推送

	E_FID_TF_ONE_MINUTE_HISTORY_REQ					= 61068,			//国债期货一分钟历史
	E_FID_TF_FIVE_MINUTE_HISTORY_REQ				= 61069,			//国债期货五分钟历史
	
	E_FID_EXCEL_TF_DEAL_MINUTE_REG_REQ				= 61071,			//国债期货分钟线注册请求
	E_FID_EXCEL_TF_DEAL_MINUTE_UNREG_REQ			= 61072,			//国债期货分钟线取消注册
	E_FID_EXCEL_TF_DEAL_MINUTE_PUSH					= 61073,			//国债期货分钟线推送
	E_FID_TF_PRICE_SPREAD_HISTORY_REQ				= 61074,			//国债期货价差历史


	E_FID_INTEREST_RATES_FIXING_REPO_RATE_REG_REQ	= 61076,			//基准利率-回购定盘 注册请求
	E_FID_INTEREST_RATES_FIXING_REPO_RATE_UNREG_REQ	= 61077,			//基准利率-回购定盘 取消注册
	E_FID_INTEREST_RATES_FIXING_REPO_RATE_PUSH		= 61078,			//基准利率-回购定盘	推送
	E_FID_INTEREST_RATES_SHIBOR_REG_REQ				= 61079,			//基准利率-Shibor 注册请求
	E_FID_INTEREST_RATES_SHIBOR_UNREG_REQ			= 61080,			//基准利率-Shibor 取消注册
	E_FID_INTEREST_RATES_SHIBOR_PUSH				= 61081,			//基准利率-Shibor	推送
	E_FID_INTEREST_RATES_LOAN_PRIME_RATE_REG_REQ	= 61082,			//基准利率-贷款基础 注册请求
	E_FID_INTEREST_RATES_LOAN_PRIME_RATE_UNREG_REQ	= 61083,			//基准利率-贷款基础 取消注册
	E_FID_INTEREST_RATES_LOAN_PRIME_RATE_PUSH		= 61084,			//基准利率-贷款基础	推送
	E_FID_INTEREST_RATES_DEPOSITS_REG_REQ			= 61085,			//基准利率-存款 注册请求
	E_FID_INTEREST_RATES_DEPOSITS_UNREG_REQ			= 61086,			//基准利率-存款 取消注册
	E_FID_INTEREST_RATES_DEPOSITS_PUSH				= 61087,			//基准利率-存款	推送
	E_FID_INTEREST_RATES_LOAN_REG_REQ				= 61088,			//基准利率-贷款 注册请求
	E_FID_INTEREST_RATES_LOAN_UNREG_REQ				= 61089,			//基准利率-贷款 取消注册
	E_FID_INTEREST_RATES_LOAN_PUSH					= 61090,			//基准利率-贷款	推送


	E_FID_INTEREST_RATES_SWAP_TICK_REQ				= 61093,			//请求利率互换tick快照
	E_FID_INTEREST_RATES_SWAP_TICK_TODAY_HISTORY_REQ= 61094,			//请求利率互换tick当日历史
	E_FID_INTEREST_RATES_SWAP_TICK_PUSH				= 61095,			//注册利率互换tick推送
	E_FID_INTEREST_RATES_SWAP_TICK_PUSH_CANCEL		= 61096,			//取消利率互换tick推送
	E_FID_INTEREST_RATES_SWAP_DAY_LINE_REQ			= 61098,			//请求利率互换日线

	E_FID_EXCEL_IRS_TICK_SNAPSHOT_REG_REQ			= 61099,			//EXCEL请求利率互换tick快照
	E_FID_EXCEL_IRS_TICK_REG_REQ					= 61100,			//EXCEL请求利率互换tick
	E_FID_EXCEL_IRS_TICK_UNREG_REQ					= 61101,			//EXCEL取消请求利率互换tick（快照）
	E_FID_EXCEL_IRS_TICK_PUSH						= 61102,			//EXCEL推送利率互换tick
	E_FID_EXCEL_IRS_DLINE_REQ						= 61103,			//EXCEL请求利率互换日线

	E_FID_EXCEL_WRITE_EVENT_LOG_REQ					= 61105,			//埋点

	E_FID_FX_SPOT_KLINE_REQ							= 61107,			//请求外汇即期K线快照
	E_FID_FX_SPOT_KLINE_TODAY_HISTORY_REQ			= 61108,			//请求外汇即期K线当日历史
	E_FID_FX_SPOT_KLINE_PUSH						= 61109,			//外汇即期K线推送
	E_FID_FX_SPOT_KLINE_PUSH_REG					= 61110,			//注册外汇即期K线推送
	E_FID_FX_SPOT_KLINE_PUSH_CANCEL_REQ				= 61111,			//取消外汇即期K线推送
	E_FID_FX_SPOT_KLINE_HISTORY_REQ					= 61112,			//请求外汇即期K线历史

	E_FID_EXCEL_FX_SPOT_KLINE_SNAPSHOT_REG_REQ		= 61115,			//EXCEL请求外汇即期K线快照
	E_FID_EXCEL_FX_SPOT_KLINE_REG_REQ				= 61116,			//EXCEL请求外汇即期K线
	E_FID_EXCEL_FX_SPOT_KLINE_UNREG_REQ				= 61117,			//EXCEL取消请求外汇即期K线（快照）
	E_FID_EXCEL_FX_SPOT_KLINE_PUSH					= 61118,			//EXCEL推送外汇即期K线
	E_FID_EXCEL_FX_SPOT_KLINE_REQ					= 61119,			//EXCEL请求外汇即期K线历史

	E_FID_EXCEL_HOLIDAY								= 61121,			//日历
	E_FID_EXCEL_HEART_BEAT							= 61122,			//心跳


	E_FID_EXCEL_FX_SWAP_TREM_REQ					= 61123,			//EXCEL请求fx swap term
	E_FID_EXCEL_FX_SWAP_SNAPSHOT_REG_REQ			= 61124,			//EXCEL请求fx swap tick快照
	E_FID_EXCEL_FX_SWAP_REG_REQ						= 61125,			//EXCEL请求fx swap tick
	E_FID_EXCEL_FX_SWAP_UNREG_REQ					= 61126,			//EXCEL取消请求fx swap tick（快照）
	E_FID_EXCEL_FX_SWAP_PUSH						= 61127,			//EXCEL推送fx swap tick
	E_FID_EXCEL_FX_SWAP_DLINE_REQ					= 61128,			//EXCEL请求fx swap 日线

	E_FID_EXCEL_FX_OPTION_TREM_REQ					= 61130,			//EXCEL请求fx option term
	E_FID_EXCEL_FX_OPTION_SNAPSHOT_REG_REQ			= 61131,			//EXCEL请求fx option tick快照
	E_FID_EXCEL_FX_OPTION_REG_REQ					= 61132,			//EXCEL请求fx option tick
	E_FID_EXCEL_FX_OPTION_UNREG_REQ					= 61133,			//EXCEL取消请求fx option tick（快照）
	E_FID_EXCEL_FX_OPTION_PUSH						= 61134,			//EXCEL推送fx option tick
	E_FID_EXCEL_FX_OPTION_DLINE_REQ					= 61135,			//EXCEL请求fx option 日线

	E_FID_FX_OPTION_SUMSCOPE_SNAPSHOT_REQ			= 61140,			//请求FX option和FX swap森浦中间价快照
	E_FID_FX_OPTION_SUMSCOPE_REQ					= 61141,			//请求FX option和FX swap森浦中间价当日历史
	E_FID_FX_OPTION_SUMSCOPE_SNAPSHOT_PUSH			= 61142,			//FX option和FX swap森浦中间价快照推送注册
	E_FID_FX_OPTION_SUMSCOPE_SNAPSHOT_PUSH_UNREG	= 61143,			//FX option和FX swap森浦中间价快照推送取消注册

	E_FID_EXCEL_BOND_YIELD_BETA_REG_REQ				= 61150,			//EXCEL请求注册债券收益率β矩阵
	E_FID_EXCEL_BOND_YIELD_BETA_UNREQ				= 61151,			//EXCEL取消注册债券收益率β矩阵
	E_FID_EXCEL_BOND_YIELD_BETA_PUSH				= 61152,			//EXCEL推送债券收益率β矩阵

	E_FID_EXCEL_TF_CTD_SNAPSHOT_REG_REQ				= 61155,			//注册请求CTD
	E_FID_EXCEL_TF_CTD_SNAPSHOT_UNREG_REQ			= 61156,			//取消请求CTD
	E_FID_EXCEL_TF_CTD_SNAPSHOT_PUSH				= 61157,			//CTD券推送

	E_FID_TF_SETTLEMENT_PRICE_REQ					= 61160,			//请求国债期货历史结算价
	E_FID_BOND_TYPE_CLEAN_PRICE_REQ					= 61161,			//请求一类债券净价 国债，国开，农发， 口行，地方债
	
	E_FID_EXCEL_TF_DEAL_REG_REQ						= 61165,			//请求注册国债期货的成交信息
	E_FID_EXCEL_TF_DEAL_UNREG						= 61166,			//取消注册国债期货的成交信息
	E_FID_EXCEL_TF_DEAL_PUSH						= 61167,			//推送国债期货的成交信息
	
	E_FID_BOND_KLINE								= 61170,			//请求债券日K线
// 	//=========================================****QB 大行资金系统, 62000 - 62199***======================================================
// 	E_FID_COMS_AUTHORITY_REQ					    = 62000,			//大行资金权限，请求，返回
// 	E_FID_COMS_AUTHORITY_ALLOW_COMPANY_REQ			= 62001,			//大行资金业务公司权限和对应用户权限,请求，返回  需求变化，客户端停用
// 	E_FID_COMS_AUTHORITY_REGISTRY_REQ				= 62002,			//大行资金业务公司注册推送请求  需求变化，停用
// 	E_FID_COMS_AUTHORITY_UNREGISTRY_REQ				= 62003,			//大行资金业务公司取消注册推送  需求变化，停用
// 	E_FID_COMS_AUTHORITY_CHANGE_PUSH				= 62004,			//大行资金业务公司权限变化推送  需求变化，停用
// 	E_FID_COMS_REMINDER_PUSH						= 62005,			//大行资金业务提醒推送
// 	E_FID_COMS_CHAT_USER_RIGHT_REQ					= 62006,			//大行资金业务查询聊天对象对方权限

	//-------------------
	//=========================================****QB Web利差分析, 62200 - 62999***======================================================
	E_FID_SPREAD_ANALIZE_CONFIG_REG					= 62200,			//利差分析配置请求
	E_FID_SPREAD_ANALIZE_DATA_REG					= 62201,			//利差分析数据请求

	//=========================================****QB 业务监控, 63000 - 63999***======================================================
	//
	//================================================================================================================================

	//=========================================****QB 宏源一级分销 66000---66999***======================================================
	//2016/08/09 by devin.zhang:建议一级消息都以：E_FID_PRI_ 开头
	//2016/11/02 by devin.zhang:增加66开头的消息，可以透传网关
	//E_FID_PRI_FLAGSHIP_AD_QUERY					= 66000,			//  旗舰店菜单广告位查询
	//E_FID_PRI_IR_TENDER_PUSH						= 66001,			//  利率招标室发行结果推送

	E_FID_RAW_MSG_BEGIN								= 69000,			//透传消息起始消息号
	E_FID_RAW_MSG_END								= 70000,		    //透传消息终止消息号 			
	//=========================================****MAX***======================================================
	E_FID_CT_MAX
};

// 透传消息区间
// #define E_FID_RAW_MSG_BEGIN  69000   
// #define E_FID_RAW_MSG_END	 70000

enum _eKLineType_t
{
	E_KT_TICK = 0,
	E_KT_1MIN = 1,
	E_KT_5MIN = 2,
	E_KT_10MIN = 3,
	E_KT_15MIN = 4,
	E_KT_30MIN = 5,
	E_KT_1H = 6,
	E_KT_4H = 7,
	E_KT_DAY = 8,
	E_KT_1W = 9,
	E_KT_1MON = 10,
	E_KT_1YEAR = 11
	//E_KT_10SEC = 12
};

//均线周期
enum _eMAType_t
{
	E_MA_ALL = 0,
	E_MA_1 = 1,
	E_MA_5 = 2,
	E_MA_10 = 3,
	E_MA_15 = 4,
	E_MA_20 = 5,
	E_MA_30 = 6,
	E_MA_60 = 7,
	E_MA_120 = 8,
	E_MA_180 = 9,
	E_MA_360 = 10

};

enum _eMarketStatus_t
{
	E_MS_Unknow = -1,//未知
	E_MS_OpenMarket = 0,//开市
	E_MS_OpenQuotation = 1,//开盘
	E_MS_CloseQuotation = 2,//收盘
	E_MS_CloseMarket = 3,//收市
	E_MS_PAUSE= 4,//暂停
	E_MS_Accounting = 6,//结算
	E_MS_Initialize = 7//初始
};


/*
enum _eRetCode_t
{
E_RC_OK = 0,	//成功
E_RC_DUPLOGIN = 1,//重复登录
E_RC_PASSWD_ERR = 2,//密码错误
E_RC_USER_ERR = 3,//用户不存在
E_RC_NOLOGIN = 4,//未登录
E_RC_ERROR = 5,//失败
E_RC_NODATA = 10,//无对应数据
};
//(int)magic + (int)len + msgflag + msghead + msgbody + crc(int)


//unsigned char msgflag;	//消息封装模式 0bit 有无压缩 1bit 有无加密, 0 无压缩无加密 1 有压缩无加密 2 无压缩有加密 3 有压缩有加密

//UINT m_msgLength;
struct _xMsgHeadReq_t
{
int msgtype;//消息类型，即功能编号
}Y_RD_PACKED;
typedef struct _xMsgHeadReq_t xMsgHeadReq_t;

struct _xMsgHeadAck_t
{
int msgtype;														//消息类型，即功能编号
short retcode;													//标志 : 0 成功，非0 失败
char desc[20];													//描述
short num;
short idx;
}Y_RD_PACKED;
typedef struct _xMsgHeadAck_t xMsgHeadAck_t;
*/
//E_FID_SYS_TIME = 10000,系统时间
struct _xSysTime_t
{
	int time;//系统时间
}Y_RD_PACKED;
typedef struct _xSysTime_t xSysTime_t;


//登录消息
struct _xLoginSysSvrReq_t
{
	char accountname[Y_RD_USERNAME_LEN];			//账户
	char passwd[Y_RD_PASSWD_LEN];					//密码
	int version;
}Y_RD_PACKED;
typedef struct _xLoginSysSvrReq_t xLoginSysSvrReq_t;


struct _xLoginSysSvrAck_t
{
	char cookie[Y_RD_COOKIE_LEN];						//分配给客户端的cookie
	char marketip[Y_RD_HOST_LEN];						//行情服务器 ip
	short marketport;												//行情服务器 端口
	char tradeip[Y_RD_HOST_LEN];							//交易服务器 ip
	short tradeport;													//交易服务器 端口
	int time;												//系统时间
	xLoginTrdSvrAck_t sg;
	int flag;								//标志，是否允许交易，也可用于其他信息
}Y_RD_PACKED;
typedef struct _xLoginSysSvrAck_t xLoginSysSvAck_t;

//登出消息
struct _xLogoutSysSvReq_t
{
	char accountname[Y_RD_USERNAME_LEN];			//账户
	char passwd[Y_RD_PASSWD_LEN];					//?密码
	char cookie[Y_RD_COOKIE_LEN];					//cookie;	
}Y_RD_PACKED;
typedef struct _xLogoutSysSvReq_t xLogoutSysSvReq_t;

//无消息体




//-----------------行情服务
//登录消息
struct _xLoginMktSvrReq_t
{
	char accountname[Y_RD_USERNAME_LEN];	//账户
	char cookie[Y_RD_COOKIE_LEN];			//cookie
	char userID[Y_RD_USERNAME_LEN];			//客户唯一标识码
	char mac[512];							//mac地址
}Y_RD_PACKED;
typedef struct _xLoginMktSvrReq_t xLoginMktSvrReq_t;

struct _xLoginMktSvrAck_t
{
	int encrpyt;
	int crc;
	int zip;
	int reserve1;
	char reserve2[Y_RD_USERNAME_LEN];	//
}Y_RD_PACKED;
typedef struct _xLoginMktSvrAck_t xLoginMktSvrAck_t;


//登出消息
struct _xLogoutMktSvrReq_t
{
	char accountname[Y_RD_USERNAME_LEN];			//账户
	char cookie[Y_RD_COOKIE_LEN];					//cookie;	
	char userID[Y_RD_USERNAME_LEN];					//客户唯一标识码
}Y_RD_PACKED;
typedef struct _xLogoutMktSvrReq_t xLogoutMktSvrReq_t;


struct _xMarketCodeReq_t
{
	int markettype;//0--所有，1-上海，2-大连，3-郑州，4-中金所
}Y_RD_PACKED;
typedef struct _xMarketCodeReq_t xMarketCodeReq_t;

//E_FID_CS_MARKET_STATUS_REQ = 1217, 		//查询开盘收盘状态
struct _xMarketStatusReq_t
{
	int market;
	char accountname[Y_RD_USERNAME_LEN];  

}Y_RD_PACKED;
typedef struct _xMarketStatusReq_t xMarketStatusReq_t;

//E_FID_SC_MARKET_STATUS_ACK = 2117,		//查询开盘收盘状态
struct _xMarketStatusAck_t
{
	int market; //1：郑州   2：大连   3：金融期货   4：上海
	int marketstatus;//-1：未知  0：开市 1：开盘   2：收盘   3：收市，4：暂停 6：清算  7：初始
	int time;//发生时间

}Y_RD_PACKED;
typedef struct _xMarketStatusAck_t xMarketStatusAck_t;


/**
2012-06-04 add  by chenquan
排序请求
*/
struct _xSortReq_t{
	int market     ;        //0--所有，1-上海，2-大连，3-郑州，4-中金所
	char field_name[32] ;   //排序字段名

	int sort_type ;         //升序还是降序 ， 0 表示升序，其他表示降序
	int begin ;             //从哪个下标开始，0标识从头开始
	int size ;              //-1表示全部
} Y_RD_PACKED ;

typedef struct _xSortReq_t xSortReq_t ;

struct _xSortAck_t{
	time_t  time ;
	WORD    market ;        //市场类型
	char    label[13] ;     //股票代码，以'\0'结尾
	char    name[32] ;      //股票名称，以'\0'结尾

	float   prev_close ;    //昨收
	float   open ;          //今开
	float   high ;          //最高
	float   low ;           //最低
	float   latest ;        //最新
	float   volume ;        //成交量
	float   amount ;        //成交额

	float   bid_price1 ;    
	float   bid_volume1 ;
	float   ask_price1 ;
	float   ask_volume1 ;

	float   bid_price2 ;    
	float   bid_volume2 ;
	float   ask_price2 ;
	float   ask_volume2 ;

	float   bid_price3 ;    
	float   bid_volume3 ;
	float   ask_price3 ;
	float   ask_volume3 ;

	float   bid_price4 ;    
	float   bid_volume4 ;
	float   ask_price4 ;
	float   ask_volume4 ;

	float   bid_price5 ;    
	float   bid_volume5 ;
	float   ask_price5 ;
	float   ask_volume5 ;

} Y_RD_PACKED ;
typedef struct _xSortAck_t xSortAck_t ;

//E_FID_CS_KICKOFF_USER_REQ = 1219,         //踢用户请求
struct _xKickOffUserReq_t
{
	char username[Y_RD_USERNAME_LEN]; // 用户名
	char address[64];//地址
}Y_RD_PACKED;
typedef struct _xKickOffUserReq_t xKickOffUserReq_t;
//E_FID_CS_KICKOFF_USER_ACK = 2119,         //踢用户返回
struct _xKickOffUserAck_t
{
	char username[Y_RD_USERNAME_LEN]; // 用户名
	char address[64];//地址
	int code;//返回代码
}Y_RD_PACKED;
typedef struct _xKickOffUserAck_t xKickOffUserAck_t;


//E_FID_SERVER_RPC_API ,         //Thrift请求
struct _xThriftApiReq_t
{
	unsigned int lAddress; // 回调函数句柄
	unsigned int lHwnd;
	char requsetstr[1024];
}Y_RD_PACKED;
typedef struct _xThriftApiReq_t xThriftApiReq_t;

//E_FID_SERVER_RPC_API,         //Thrift返回
struct _xThriftApiAck_t
{
	unsigned int lAddress; // 回调函数句柄
	unsigned int lHwnd;
	unsigned int lSize;
	char* pData;//

}Y_RD_PACKED;
typedef struct _xThriftApiAck_t xThriftApiAck_t;

//E_FID_SIGNAL = 8500,///市场信号
struct _xMarketSignalInfo_t
{
	int market; // 交易所
	int marketStatus;//市场信号，定义见_eMarketStatus_t
	int reserved;//保留字段
	time_t curtime;//信号发生时间
}Y_RD_PACKED;
typedef struct _xMarketSignalInfo_t xMarketSignalInfo_t;

//         //初始化stock请求
struct _xFileUpdateReq_t{
	int  updateId;
	char szCategory[32];
	char szPatchName[32];
	char szMd5[64];
	int  sequence;	//唯一序列ID，暂不使用
}Y_RD_PACKED;
typedef struct _xFileUpdateReq_t xFileUpdateReq_t;



struct _xRespFileUpdateMsg_t{
	int  updateId;
	char szCatgory[32];
	char szPatchName[32];
	char szFileName[256];
	int origsize;//原始文件长度
	char szMd5[64];
	int fileLen;
	char *fileBuf;

}Y_RD_PACKED;
typedef struct _xRespFileUpdateMsg_t xRespFileUpdateMsg_t;

struct _xRespFileUpdateMsgMass_t
{
	int  sequence;	//唯一序列ID，暂不使用
	int  updateId;
	char szCategory[32];
	char szPatchName[32];
	char szFileName[256];
	int origsize;//原始文件长度
	char szMd5[64];
	int fileLen;
	char *fileBuf;

}Y_RD_PACKED;
typedef struct _xRespFileUpdateMsgMass_t xRespFileUpdateMsgMass_t;

struct _xUpdateInfoNotify_t{
	int  updateId;
	char szCatgory[32];
	char szPatchName[32];
}Y_RD_PACKED;
typedef struct _xUpdateInfoNotify_t xUpdateInfoNotify_t;


//------------------交易服务器

#define SERVER_PORT 17992
#define MSG_MAXLEN 1024
#define CMD_CONNECT	1		// 连接
#define CMD_PING	20		// PING

// push header
typedef struct {
	unsigned short usType;
	unsigned short usLength;
} ST_PUSHHEAD;

//////////////////////////////////////////////////////////////////////////////////////////////////
//------------------SumScope--------------------------------------------------------------------
//////////////////////////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////


#ifdef WIN32
//#pragma pack()
#pragma pack(pop)
#endif
#endif
